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
fmt.Printf("\nProject %s created successfully! Run `cd %s` to change directory to your project.\n", projectName, projectName)
190
-
fmt.Println("From your project root run `runpodctl project dev` to start a development session.")
233
+
fmt.Printf("\nProject %s created successfully! \nNavigate to your project directory with `cd %s`\n\n", projectName, projectName)
234
+
fmt.Println("Tip: Run `runpodctl project dev` to start a development session for your project.")
191
235
},
192
236
}
193
237
194
238
varStartProjectCmd=&cobra.Command{
195
239
Use: "dev",
196
240
Aliases: []string{"start"},
197
241
Args: cobra.ExactArgs(0),
198
-
Short: "starts a development session for the current project",
199
-
Long: "connects your local environment and the project environment on your Pod. Changes propagate to the project environment in real time.",
242
+
Short: "Start a development session for the current project",
243
+
Long: "This command establishes a connection between your local development environment and your RunPod project environment, allowing for real-time synchronization of changes.",
200
244
Run: func(cmd*cobra.Command, args []string) {
245
+
// Check for the existence of 'runpod.toml' in the current directory
NewProjectCmd.Flags().BoolVarP(&initCurrentDir, "init", "i", false, "use the current directory as the project directory")
332
+
// Set up flags for the project commands
333
+
NewProjectCmd.Flags().StringVarP(&projectName, "name", "n", "", "Set the project name, a directory with this name will be created in the current path.")
334
+
NewProjectCmd.Flags().BoolVarP(&initCurrentDir, "init", "i", false, "Initialize the project in the current directory instead of creating a new one.")
335
+
StartProjectCmd.Flags().BoolVar(&setDefaultNetworkVolume, "select-volume", false, "Choose a new default network volume for the project.")
285
336
286
-
StartProjectCmd.Flags().BoolVar(&setDefaultNetworkVolume, "select-volume", false, "select a new default network volume for current project")
287
-
StartProjectCmd.Flags().BoolVar(&showPrefixInPodLogs, "prefix-pod-logs", true, "prefix logs from project Pod with Pod ID")
288
-
BuildProjectCmd.Flags().BoolVar(&includeEnvInDockerfile, "include-env", false, "include environment variables from runpod.toml in generated Dockerfile")
337
+
NewProjectCmd.Flags().StringVarP(&modelName, "model", "m", "", "Specify the Hugging Face model name for the project.")
338
+
NewProjectCmd.Flags().StringVarP(&modelType, "type", "t", "", "Specify the model type for the project.")
289
339
340
+
StartProjectCmd.Flags().BoolVar(&showPrefixInPodLogs, "prefix-pod-logs", true, "Include the Pod ID as a prefix in log messages from the project Pod.")
341
+
BuildProjectCmd.Flags().BoolVar(&includeEnvInDockerfile, "include-env", false, "Incorporate environment variables defined in runpod.toml into the generated Dockerfile.")
0 commit comments