Add long description
This commit is contained in:
parent
66c4e7eca8
commit
925edf3892
1 changed files with 6 additions and 3 deletions
|
|
@ -15,14 +15,17 @@ func newRebuildCmd(app *App) *cobra.Command {
|
|||
rebuildCmd := &cobra.Command{
|
||||
Use: "rebuild",
|
||||
Short: "Rebuild a codespace",
|
||||
Args: cobra.NoArgs,
|
||||
Long: `Rebuilding recreates your codespace. Your code and any current changes will be
|
||||
preserved. Your codespace will be rebuilt using your working directory's
|
||||
dev container. A full rebuild also removes cached Docker images.`,
|
||||
Args: cobra.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return app.Rebuild(cmd.Context(), codespace, fullRebuild)
|
||||
},
|
||||
}
|
||||
|
||||
rebuildCmd.Flags().StringVarP(&codespace, "codespace", "c", "", "Name of the codespace")
|
||||
rebuildCmd.Flags().BoolVar(&fullRebuild, "full", false, "Perform a full rebuild of the codespace")
|
||||
rebuildCmd.Flags().StringVarP(&codespace, "codespace", "c", "", "name of the codespace")
|
||||
rebuildCmd.Flags().BoolVar(&fullRebuild, "full", false, "perform a full rebuild")
|
||||
|
||||
return rebuildCmd
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue