Skip to content

Account CLI updates#24

Merged
wesm merged 8 commits intowesm:mainfrom
etbyrd:account-cli-updates
Feb 4, 2026
Merged

Account CLI updates#24
wesm merged 8 commits intowesm:mainfrom
etbyrd:account-cli-updates

Conversation

@etbyrd
Copy link
Copy Markdown
Contributor

@etbyrd etbyrd commented Feb 3, 2026

  • there was no list-accounts command

    • Added list-accounts that shows all accounts, and a flag, --json for programmatic use
    • Added fields last_sync and messages count requested in Add list-accounts command #23
  • display_name was in the schema but not exposed:

    • Added a new function for setting/updating display name UpdateSourceDisplayName
    • Added a --display-name flag to add-account
    • Added a new command update-account that uses UpdateSourceDisplayName

    preview of list-accounts:

Screenshot 2026-02-02 at 4 58 51 PM

@etbyrd etbyrd mentioned this pull request Feb 3, 2026
@etbyrd etbyrd force-pushed the account-cli-updates branch from 37fbeda to 5f88da3 Compare February 3, 2026 01:08
@etbyrd
Copy link
Copy Markdown
Contributor Author

etbyrd commented Feb 3, 2026

had to rebase to main because of changes to remove setupStore

@etbyrd etbyrd force-pushed the account-cli-updates branch from 7d25f17 to 397d952 Compare February 3, 2026 03:36
@etbyrd
Copy link
Copy Markdown
Contributor Author

etbyrd commented Feb 3, 2026

Had to force push again because ListSources was added by someone else (a better one with filtering actually)

@wesm
Copy link
Copy Markdown
Owner

wesm commented Feb 3, 2026

Thank you, I will get to this in the next couple days, don't worry about the rebase conflict I'll take care of it and push changes here

etbyrd and others added 8 commits February 4, 2026 08:21
The config method was renamed upstream; update list-accounts and
update-account commands to match.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add InitSchema call in list-accounts so a fresh install gets "No
accounts found" instead of "no such table: sources".

Apply --display-name on the early-return path in add-account when a
token already exists, so the flag isn't silently ignored.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@wesm wesm force-pushed the account-cli-updates branch from 7792c97 to 583a012 Compare February 4, 2026 14:21
@wesm wesm merged commit 76f498c into wesm:main Feb 4, 2026
1 check passed
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