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

Atmos custom subcommands may shadow built-in subcommands (e.g. atmos terraform state) #575

Open
osterman opened this issue Apr 5, 2024 · 0 comments
Labels
bug 🐛 An issue with the system

Comments

@osterman
Copy link
Member

osterman commented Apr 5, 2024

Describe the Bug

If you create a custom subcommand, that has the same arguments as a built-in command, the built-in command is "lost".

e.g.

If we create a custom subcommand atmos terraform state foobar, then all of the built-in atmos terraform state * commands stop working (cannot be found).

Expected Behavior

We should support some order of precedence, and support both. If a custom command is defined, then it would take precedence. Also, all other built-in commands should continue to work.

Steps to Reproduce

See above.

Screenshots

No response

Environment

No response

Additional Context

No response

@osterman osterman added the bug 🐛 An issue with the system label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

1 participant