Skip to content

Commit

Permalink
chore: hide import and export commands
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbreuninger committed Dec 6, 2024
1 parent d375020 commit 572d303
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions cmd/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ func NewExportCmd(flags *flags.GlobalFlags) *cobra.Command {
GlobalFlags: flags,
}
exportCmd := &cobra.Command{
Use: "export [flags] [workspace-path|workspace-name]",
Short: "Exports a workspace configuration",
Use: "export [flags] [workspace-path|workspace-name]",
Short: "Exports a workspace configuration",
Hidden: true,
RunE: func(_ *cobra.Command, args []string) error {
ctx := context.Background()
devPodConfig, err := config.LoadConfig(cmd.Context, cmd.Provider)
Expand Down
7 changes: 4 additions & 3 deletions cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ func NewImportCmd(flags *flags.GlobalFlags) *cobra.Command {
GlobalFlags: flags,
}
importCmd := &cobra.Command{
Use: "import",
Short: "Imports a workspace configuration",
Args: cobra.NoArgs,
Use: "import",
Short: "Imports a workspace configuration",
Args: cobra.NoArgs,
Hidden: true,
RunE: func(_ *cobra.Command, args []string) error {
ctx := context.Background()
devPodConfig, err := config.LoadConfig(cmd.Context, cmd.Provider)
Expand Down

0 comments on commit 572d303

Please sign in to comment.