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

Ability to add custom CLI commands #311

Closed
wbreza opened this issue Jun 2, 2022 · 1 comment
Closed

Ability to add custom CLI commands #311

wbreza opened this issue Jun 2, 2022 · 1 comment

Comments

@wbreza
Copy link
Contributor

wbreza commented Jun 2, 2022

Imagine a scenario where an app dev team has standardized on use the Azure Dev CLI for all of their development. It is great that we give them commands like monitor that will launch our default dashboard.

How can we help take the dev team to the next level?

Initial use case

I'm an app dev @ Contoso. We use azure dev CLI for all our green field development. We would like at extend the commands offered in the CLI to include our own custom command called rollback. (this can be whatever they want)

How to support this

Add special CLI configuration file in the .azure folder. The file contains configuration values for command/subcommands/scripts to include in the CLI.

The CLI will check for the existence of this file at runtime and give you proper intelligence help, etc.

Users can author custom scripts as bash or powershell scripts. Scripts would be invoked with current environment variables as well as any custom command parameters available.

@wbreza wbreza self-assigned this Jun 2, 2022
@savannahostrowski savannahostrowski transferred this issue from another repository Jul 29, 2022
@danieljurek danieljurek transferred this issue from another repository Aug 4, 2022
@rajeshkamal5050 rajeshkamal5050 added this to the Backlog milestone Mar 6, 2024
@rajeshkamal5050
Copy link
Contributor

@wbreza feels like the will get accomplished via #3565

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants