Azure / Azure/api-center

`az apic service create --name --service --service-name -s` is inconsistent with other resource provisioning commands

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Investigating
Dominant language
PowerShell
Stars
45
Forks
21
Avg merge
21m
Merged PRs (30d)
1

Description

# Description

image

`az` command has a consistent argument/parameter naming convention to set a resource name with the argument of `--name` or `-n`. Here are a few examples:

- `az group create -n my-resource-group`
- `az apim create -n my-apim -g my-resource-group`

However, Azure API Center only provides short form argument of `-s` like:

`az apic service create -s my-apic -g my-resource-group`

I don't think It's consistent with other commands' convention. At least it should provide both options of `-s` and `-n` to avoid further confusion and align with other commands' convention.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `az apic service create` command entry point and compare its naming options with the documented `az group create` and `az apim create` examples. Done means the command accepts `--name` or `-n` alongside the existing `-s` option without losing the current usage.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.