Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Add commonly mistaken aliases #956

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Conversation

brooksmtownsend
Copy link
Member

@brooksmtownsend brooksmtownsend commented Oct 30, 2023

  • chore(ctl): add alias for key/keys link/links
  • chore(ctl): support --domain alias

Feature or Problem

This PR adds a couple simple aliases where users may forget to make the subcommand a plural subcommand or where existing muscle memory may kick in (e.g. going back and forth between the NATS CLI with --domain and wash with `--js-domain)

Related Issues

N/A

Release Information

next patch

Consumer Impact

Certain Go developers will enjoy this

Testing

Built on platform(s)

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin
  • x86_64-windows

Tested on platform(s)

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin
  • x86_64-windows

Unit Test(s)

Acceptance or Integration

Manual Verification

Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
@brooksmtownsend brooksmtownsend changed the title feat/prevent plural anger Add commonly mistaken aliases Oct 30, 2023
@brooksmtownsend brooksmtownsend enabled auto-merge (rebase) October 30, 2023 13:47
@brooksmtownsend brooksmtownsend merged commit 1eda4ba into main Oct 30, 2023
23 checks passed
@brooksmtownsend brooksmtownsend deleted the feat/prevent-plural-anger branch October 30, 2023 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants