mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
13 lines
437 B
Go
13 lines
437 B
Go
package cli
|
|
|
|
import (
|
|
boundarycli "github.com/coder/boundary/cli"
|
|
"github.com/coder/serpent"
|
|
)
|
|
|
|
func (*RootCmd) boundary() *serpent.Command {
|
|
cmd := boundarycli.BaseCommand() // Package coder/boundary/cli exports a "base command" designed to be integrated as a subcommand.
|
|
cmd.Use += " [args...]" // The base command looks like `boundary -- command`. Serpent adds the flags piece, but we need to add the args.
|
|
return cmd
|
|
}
|