You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createCmd.Flags().StringVarP(&createCmdFlags.app, "app", "a", "", "The app to create")
68
+
createCmd.Flags().StringVarP(&createCmdFlags.app, "app", "a", "", "The app ID to create")
69
+
createCmd.Flags().StringVarP(&createCmdFlags.name, "name", "n", "", "The name for the new app")
61
70
createCmd.Flags().StringSliceVarP(&createCmdFlags.EnvironmentVariables, "env", "e", []string{}, "Environment variables to set on the app in the form 'key=value'")
62
71
createCmd.Flags().StringSliceVarP(&createCmdFlags.Secrets, "secret", "s", []string{}, "Secrets to set on the app in the form 'key=value'")
63
72
createCmd.Flags().StringVarP(&createCmdFlags.RevisionName, "revision-name", "r", "", "The revision name to use for the app")
64
73
createCmd.Flags().BoolVar(&createCmdFlags.Init, "init", false, "Initialize a runtime.config.json file in the current directory after creating the app")
Copy file name to clipboardExpand all lines: cmd/init.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ func init() {
29
29
Long: heredoc.Doc(`
30
30
Initialize a local project to connect it to a GitHub Spark app.
31
31
This creates a runtime.config.json configuration file that binds your local project
32
-
to a remote Spark app. You must specify an app name to validate the app exists.
32
+
to a remote Spark app. You must specify an app ID to validate the app exists.
33
33
Optionally specify an output path where the runtime.config.json file should be created.
34
34
`),
35
35
Example: heredoc.Doc(`
@@ -52,7 +52,7 @@ func init() {
52
52
},
53
53
}
54
54
55
-
initCmd.Flags().StringVarP(&initCmdFlags.app, "app", "a", "", "The app name to initialize")
55
+
initCmd.Flags().StringVarP(&initCmdFlags.app, "app", "a", "", "The app ID to initialize")
56
56
initCmd.Flags().StringVarP(&initCmdFlags.out, "out", "o", "", "The output path for the runtime.config.json file (default: runtime.config.json in current directory)")
0 commit comments