Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute() error
Execute builds and runs the root command. It is the single entry point called by main(). The first-run sentinel is swallowed so a fresh user who just got walked through `cinc config create` exits at the "you're ready to go" message instead of having their original server-touching command run on the brand-new profile.
func NewRootCmd ¶
NewRootCmd returns a fresh root command tree. It exists so that out-of-tree tools (for example the doc generator under `tools/gendocs`) can walk the command tree without going through Execute. Tests inside this package should keep using the unexported newRootCmd.
Types ¶
This section is empty.
Source Files
¶
- acl.go
- args.go
- banner.go
- client.go
- common.go
- config.go
- config_checks.go
- cookbook.go
- create.go
- databag.go
- databag_secret.go
- editor.go
- environment.go
- explore.go
- group.go
- keyfile.go
- keys.go
- node.go
- node_assign.go
- node_runlist.go
- node_status.go
- node_tag.go
- org.go
- policy.go
- policy_deploy.go
- policy_install.go
- policygroup.go
- policylifecycle.go
- role.go
- root.go
- search.go
- supermarket.go
- user.go
- version.go