Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Restructure account commands to meet the new design guidelines #1265

Merged
merged 7 commits into from
Nov 22, 2024

Conversation

joe-yeager
Copy link
Contributor

Description and Context

hs accounts

  • Update description to: "Commands for managing configured accounts."
  • Remove all flags except for the --help flag because they don't do anything
  • Support hs account as the primary and accounts as the plural alias

hs accounts list

  • Remove --version flag and --account flag

hs accounts rename

  • Description should be Rename an account in the config.
  • Remove --version flag and --account flag

hs accounts use

  • Remove --version flag and --account flag

hs accounts info

  • Description should be Print information about the default account, or about the account specified with the "account" option.
  • Remove --version flag and --account flags

hs accounts remove

  • Remove --version flag and --account flag

hs accounts clean

  • Remove --version flag, use-env flag, and --account flag

@@ -37,7 +35,7 @@ describe('commands/accounts', () => {

describe('builder', () => {
const subcommands = [
['list', { ...list, aliases: 'ls' }],
['list', list],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved this to the list file command field to match the pattern we use elsewhere.

@joe-yeager joe-yeager changed the title feat: Restructure account commands to meet the new design guidelines feat!: Restructure account commands to meet the new design guidelines Nov 22, 2024
@joe-yeager joe-yeager merged commit 5933219 into next Nov 22, 2024
1 check passed
@joe-yeager joe-yeager deleted the jy/restructure-account-commands branch November 22, 2024 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants