Azure / Azure/azure-iot-cli-extension

[devEx] Look into using argparse mutual-exclusion for --hub-name || --login scenarios

Open
#398 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
88
Forks
78
Avg merge
1d 2h
Merged PRs (30d)
9

Description

- We should look into argparse mutual exclusion, to lean on argparse to improve usage/description devEx for `--hub-name` or `--login` usage.
- https://docs.python.org/3/library/argparse.html#mutual-exclusion
- We need to see if there is any support for this in CLI core or Knack
- If not, and if evaluation is deemed useful - consider building it out and integrating or informing the CLI core team on the need

Contributor guide

Open the contributing guide

Research direction

Start with the argparse mutual-exclusion documentation linked in the issue, then inspect how --hub-name and --login are defined in the CLI extension. Check whether CLI core or Knack supports this behavior. Done means documenting the evaluation and, if useful, proposing an integration or informing the CLI core team.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.