docs: add explaination on how to change home folder globaly (backport #16620) (#16622)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2023-06-20 17:44:11 +02:00
committed by GitHub
co-authored by Julien Robert
parent e9ba371ef2
commit 9b1d32b78d
2 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ import (
func HomeCommand() *cobra.Command {
return &cobra.Command{
Use: "home",
Short: "Outputs the string being used as the home path. No home directory is set when using the tool standalone.",
Short: "Outputs the folder used as the binary home. No home directory is set when using the tool standalone.",
Long: `Outputs the folder used as the binary home. In order to change the home directory path, set the $APPD_HOME environment variable, or use the "--home" flag.`,
Args: cobra.NoArgs,
Run: func(cmd *cobra.Command, args []string) {
clientCtx := client.GetClientContextFromCmd(cmd)