NewRootCommand constructs the AGH v1 CLI command tree.
()
| 81 | |
| 82 | // NewRootCommand constructs the AGH v1 CLI command tree. |
| 83 | func NewRootCommand() *cobra.Command { |
| 84 | return newRootCommand(commandDeps{}) |
| 85 | } |
| 86 | |
| 87 | func newRootCommand(deps commandDeps) *cobra.Command { |
| 88 | deps = deps.withDefaults() |
no test coverage detected