You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-08-07 16:02:54 +03:00
Add tip about STEPPATH to step path docs.
This commit is contained in:
@@ -13,7 +13,9 @@ func init() {
|
|||||||
Name: "path",
|
Name: "path",
|
||||||
Usage: "print the configured step path and exit",
|
Usage: "print the configured step path and exit",
|
||||||
UsageText: "step path",
|
UsageText: "step path",
|
||||||
Description: "**step path** command prints the configured step path and exit",
|
Description: `**step path** command prints the configured step path and exits.
|
||||||
|
|
||||||
|
The default step path of $HOME/.step can be overridden with the **STEPPATH** environment variable.`,
|
||||||
Action: cli.ActionFunc(func(ctx *cli.Context) error {
|
Action: cli.ActionFunc(func(ctx *cli.Context) error {
|
||||||
fmt.Println(config.StepPath())
|
fmt.Println(config.StepPath())
|
||||||
return nil
|
return nil
|
||||||
|
Reference in New Issue
Block a user