From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mCJJM0Gtc2Oq+wAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 16:16:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2K03M0Gtc2P7pwAAauVa8A (envelope-from ) for ; Tue, 15 Nov 2022 16:16:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 47E652EF31 for ; Tue, 15 Nov 2022 16:16:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouxfG-0005w1-3l; Tue, 15 Nov 2022 10:15:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouxfD-0005vj-TN for help-guix@gnu.org; Tue, 15 Nov 2022 10:15:52 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouxfC-000550-CW for help-guix@gnu.org; Tue, 15 Nov 2022 10:15:51 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1668525339; cv=none; d=zohomail.com; s=zohoarc; b=Cky8zf0IUzW/9Rha1LYcuhnEe8XnSHsrU85ts4Mn09FunT+SGUrHc/G2f6NgVvb+FnrJndlrQHXB65LqCKswB8XTK4x2lYp6m5A6RcbzYdLUFE/m1n12XWJWMJp9aTuSkcJY4xCp+HkSFDgze3qoy9xlmLadPyKK7OiTNbwPnGM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1668525339; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=UpiEU/8bZ1iTZ4IGCf6cQZj6lb9OkGta3gy/t5BBzTw=; b=jTjJmA2h075EOFnx6RNSoHlK44OTFBPJSYaDiNXsVxqF+ltg1TfuQF77TcrEWti6VY5L3moCGAl11pwG1X0JDpvbdNm+gNHZIA0nr4fej/kmcDtIPE0P9XsdE8hsqTDb8vLKej3KzTKyaB+1/9wtIumzOiEN3uyd5KcxuCLNdFM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1668525339; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=UpiEU/8bZ1iTZ4IGCf6cQZj6lb9OkGta3gy/t5BBzTw=; b=eyWkbPIvp8h04fHGuMcEI1UJDQKyrbp+9kU7Zx6aoe+ZWUc6jrLihipDoi8kaged 3OAxpKXAObIInG0zdQ+fXkgaNI/oqVV+ZPEkzwmSAaSq0aV7Bf33NU+Ht5otx9MRVi7 sy+93GNkFi4vOBfONJA0stW61EMU2l0HNGsrzAQ8= Received: from localhost (248-109-142-46.pool.kielnet.net [46.142.109.248]) by mx.zohomail.com with SMTPS id 1668525337029705.8975574540536; Tue, 15 Nov 2022 07:15:37 -0800 (PST) References: <20221115085955.GB21024@dismail.de> User-agent: mu4e 1.8.9; emacs 28.1 From: Ricardo Wurmus To: jgart Cc: help-guix@gnu.org Subject: Re: Does define-command automatically add the subcommand to the guix CLI? Date: Tue, 15 Nov 2022 16:15:18 +0100 In-reply-to: <20221115085955.GB21024@dismail.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <878rkcuu3v.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668525377; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UpiEU/8bZ1iTZ4IGCf6cQZj6lb9OkGta3gy/t5BBzTw=; b=GyJpYJxtz+2+DiojUecWMjhRh7AC78Tvfo72uvhzeqtvPeSKoeY/9ICAKW83M+3gqTW1sO HWIf0Vah0yqHBtbmb44lFJZzVAEhtub3/z/FGZEBhN1NC0/W1aA/q6eAaQRLdL17aPDmQ1 CnyAQXq9LN43uWLvOATzXCLVtYjtMHCu2ueZlP2MCXvFNDp3C9Mg/axRC6sdPof/oYQExN O3EWz0zxk94YahitRDMuDFoFg2F+pZHfOmkOWNNeKwyHeKg69JqcX9dh9xNZY81aHlbyA9 cvSeKFZAPN32qe3CBviNcoFynlNXQukgFBHIS9riXgxZ7VwL8Vfbb6Bheu6/UQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1668525377; a=rsa-sha256; cv=pass; b=fi210EoJ6/oM2Ixaf+E2k1OiZy3kT+ySSRdW7Tv5WE+LwWUFDzqy6LePrpoOfti8IraRaY ocRm4BE5GkXysBYzeZPw6CGJRBoiDgDivEkT7Jyc5otdlxc/vtcbdns9irqVgntMt+FEmS /6ZApV2Rb5+D1lS0i4+9jaXjb9lXI9yzT0qBcS0WxETPckX/5qJEvARKdIp3wQR4RXVfMa SR2+hU14yXp+bBXfDdhg6hNF26yYr+EYtr8GhAbdXoFD3pUOo3ldOw/B508lpd9p6AeJMi iYIkN4AgiTH7BVWNOfPGhfvUqM5uMlR30Yg08/rLBAwi9bbYnwE+yujRrF3UTg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=eyWkbPIv; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=eyWkbPIv; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 47E652EF31 X-Spam-Score: -8.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: ciXCMySWLL/L jgart writes: > Does define-command automagically add the subcommand to the guix CLI? > > For example, guix-format: > > https://github.com/bqv/rc/blob/live/guix/scripts/format.scm#L21 No, you need to set GUIX_EXTENSIONS_PATH. -- Ricardo