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

FEATURE: Allow user to select vault #100

Conversation

brgmn
Copy link
Contributor

@brgmn brgmn commented Sep 2, 2024

This change adds a vault selector to buchhalter cli. When no .buchhalter.yaml config file exists, the existing vaults from 1password cli are read and a vault chooser is rendered for the user. The user can choose the vault he wants to use with buchhalter cli and it is automatically stored in the newly created .buchhalter.yaml config file. In the future it would make sense to have a dedicated "buchhalter vault" subcommand, too - e.g. listing all vaults with "buchhalter vault list", "buchhalter vault reconnect", etc. But that's not part of this PR. We just want to improve the workflow for first time users here.

@brgmn brgmn linked an issue Sep 2, 2024 that may be closed by this pull request
2 tasks
@brgmn brgmn marked this pull request as draft September 3, 2024 05:37
@brgmn brgmn marked this pull request as ready for review September 3, 2024 05:50
@brgmn brgmn changed the title FEATURE: Allow user to select vault when starting the cli for the fir… FEATURE: Allow user to select vault Sep 3, 2024
@andygrunwald
Copy link
Collaborator

In the future it would make sense to have a dedicated "buchhalter vault" subcommand, too - e.g. listing all vaults with "buchhalter vault list", "buchhalter vault reconnect", etc.

@andygrunwald andygrunwald merged commit 06e84a6 into main Sep 8, 2024
1 check passed
@andygrunwald andygrunwald deleted the 99-feature-implement-vault-chooser-when-buchhalter-runs-for-the-first-time branch September 8, 2024 15:52
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.

FEATURE: Implement vault chooser when buchhalter runs for the first time
2 participants