Install `az login` only
See original GitHub issueHi,
Is it possible to install a lightweight version of az login
?
We’re installing just az login
for CI/CD jobs (with pip
/pipenv
). But installing azure-cli
downloads an extreme amount of dependencies for ever sub module.
I have tried to install azure-cli-profile, but it does not provide the cli.
Othwerwise, it would be super useful to be able to install selected command_modules via python “extras”.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Sign in with Azure CLI — Login and Authentication
Learn the different authentication types for your Azure CLI login — sign in with Azure ... locally, or interactively using the az login...
Read more >How to Install Azure CLI (Windows, Linux, macOS, Azure Shell)
Learn how to install Azure CLI on any operating system you have including ... Started with the Azure CLI tutorial like az login...
Read more >Azure CLI - CODE Magazine
To install Azure CLI on Windows, you can use this command. Running this command downloads the Azure CLI installer and installs it. If...
Read more >Install Azure CLI and run az login command in same script ...
Query: How to execute the az login and other az commands after installing Azure CLI in the same script without restarting the Powershell...
Read more >Install Azure CLI 2.0 on Microsoft Windows
Download the Azure CLI 2.0 MSI installer here. · Launch the installer, select the check box to accept the License Agreement terms, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In a world of lightweight containers this would be great. I can’t understand why this was chose to closed. I understand that it would take work, everything does.
@yonzhan, yes i get it, @jiasli already said that.
But that’s not how feature requests work… You can’t close a feature request by arguing that the feature is not implemented… That’s what status “open” is for.
It can be a decision to “won’t fix” from the PM/core team (based on e.g. architectural limitations), but that dialogue has not taken place here.
Even though the size of azure-cli is trimmed, it will install a huge amount of unneeded dependencies for users only needing az login (which is a very common scenario). It takes time to install, but also clutters the venv and increases the risk of conflicts/bugs.
Is it possible to implement “extras” python modules?