1
0
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:
Carl Tashian
2020-03-31 10:48:35 -07:00
parent 3e8b895e9b
commit 07566adf3f

View File

@@ -10,10 +10,12 @@ import (
func init() {
cmd := cli.Command{
Name: "path",
Usage: "print the configured step path and exit",
UsageText: "step path",
Description: "**step path** command prints the configured step path and exit",
Name: "path",
Usage: "print the configured step path and exit",
UsageText: "step path",
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 {
fmt.Println(config.StepPath())
return nil