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:
@@ -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
|
||||
|
Reference in New Issue
Block a user