Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove exec command and job translation #4604

Merged
merged 2 commits into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions cmd/cli/deprecated/exec.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package deprecated

import (
"github.com/spf13/cobra"
)

func NewExecCommand() *cobra.Command {
cancelCmd := &cobra.Command{
Use: "exec",
Deprecated: "exec was an experimental feature and no longer supported",
RunE: func(cmd *cobra.Command, cmdArgs []string) error {
return nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might return an error here too

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not necessary and follows the same pattern as with other deprecated commands:

[bacalhau]→ bacalhau exec                                                                                        
Command "exec" is deprecated, exec was an experimental feature and no longer supported

},
}

return cancelCmd
}
79 changes: 0 additions & 79 deletions cmd/cli/exec/args.go

This file was deleted.

276 changes: 0 additions & 276 deletions cmd/cli/exec/exec.go

This file was deleted.

Loading
Loading