1
0
mirror of https://github.com/smallstep/cli.git synced 2026-10-29 00:17:23 +03:00
Files
step-ca-cli/command/api/api.go
2023-02-16 10:16:18 -06:00

24 lines
510 B
Go

package api
import (
"github.com/smallstep/cli/command/api/token"
"github.com/urfave/cli"
"go.step.sm/cli-utils/command"
)
func init() {
cmd := cli.Command{
Hidden: true,
Name: "api",
Usage: "authenticate to the Smallstep API",
UsageText: "**step api** <subcommand> [arguments] [global-flags] [subcommand-flags]",
Description: `**step api** provides commands for connecting to the Smallstep API.
`,
Subcommands: cli.Commands{
token.Command(),
},
}
command.Register(cmd)
}