Skip to content

Conversation

@leonsteinhaeuser
Copy link
Owner

Description

This PR adds a non-interactive functionality to render the cluster configuration to disk. The interactive menu has not been touched and is not expected to break. To use the non-interactive functionality, add the 'run' subcommand to the CLI run command. The CLI also supports rendering an helper menu. To open the menu, define the “-h” or “--help” flag as part of the command. This will display the context menu with all available subcommands and flags available at this level.

Example:

helper menu:

go run cmd/main.go --help                                     
Usage:
  root [flags]
  root [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  run         Render the cluster configuration

Flags:
  -h, --help   help for root

Use "root [command] --help" for more information about a command.

render cluster:

go run cmd/main.go run -e dev -s dev -c hugi

@leonsteinhaeuser leonsteinhaeuser self-assigned this Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants