feat: automatically generate a unique 'default-N' context name for new cluster (fixes #113)

This commit is contained in:
Pasha Sviderski
2025-09-08 20:35:17 +10:00
parent ec2787c99c
commit d25864e52f
2 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ func NewInitCommand() *cobra.Command {
"Version of the Uncloud daemon to install on the machine.",
)
cmd.Flags().StringVarP(
&opts.context, "context", "c", "default",
&opts.context, "context", "c", cli.DefaultContextName,
"Name of the created context for the initialised cluster in the Uncloud config.",
)