Make "aaz run -c" switch non-required

Open
#201 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start at the aaz run CLI option definitions for -c and -s/--sm. Check how -c is currently required and how the command handles missing command_modules, then update the help text to explain when each switch is needed and verify that aaz run works without -c for code outside azure-cli.

Written by the indexing model from the issue text.

Description

The -c switch is used to specify the command_modules in azure-cli

when working with code which is not present in azure-cli, this switch is unnecessary. Requiring it creates a dependency to either give it a dummy directory to find the path it expects, download azure-cli and use it, or give it a dummy directory without the path it expects, which generates an error that doesn't matter to us.

Instead, I would like to see a message in the help for -c and -s/--sm that states when you should use the given switch.

Please let me know what you think, thank you.

Dominant language
Python
Stars
27
Forks
77
Avg merge
1d 20h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/aaz-dev-tools

All issues in Azure/aaz-dev-tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.