[App Service] [Discussion] Shorten appservice command group name to just "app"
See original GitHub issueI’d love to discuss whether we could shorten the appservice
command group to just app
(or equivalent) in order to improve the ergonomics around frequent use. The use of az
instead of “Azure” feels so fluid to type (as does nsg, vm, nic, acs, acr, etc.), and I wonder whether we couldn’t apply a similar naming abbreviation “principal” for App Service, in order to improve the efficiency of using its command on a regular basis, while balancing intuitiveness/discoverability.
Personally, I don’t find the use of <TAB> for auto-completing long command names to be very ergonomic, which is why I’ve thrown out the possibility of shortening names vs. relying on tab completion. Others may find this acceptable, so I’m just providing one input, which may not be that useful. Apologies if this conversation has already happened. I just wanted to throw it out there while the App Service module was still in beta, and could potentially make a breaking change like this.
UPDATE: As discussed below, an alternative solution to this could be to “flatten” out the appservice
command group and provide top-level support for web apps itself (e.g. az webapp
). I personally prefer this solution, and would support it over the above previous proposal
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (10 by maintainers)
Top GitHub Comments
We went with
webapp
Note that the portal also further distinguishes between bot, API, web, etc apps as well. A decision to use top-level namespaces will need to be clear on how to brand these types of apps (if it is going to at all), and if so then any new possible new classes of apps going forward.
imho, a single top-level group like @tjprescott described is best and provides the most flexibility going onward. Understood that there are other pressures for naming, my 0.02 is we should do what makes the most sense for the CLI tooling to make sure it’s consistent and easy to use. As it stands, Logic Apps are branded underneath App Service: https://azure.microsoft.com/en-us/services/logic-apps/