Skip to content

Conversation

swalkinshaw
Copy link
Member

@swalkinshaw swalkinshaw commented Apr 23, 2023

The vault commands weren't consistent and had weird quirks. This makes the commands consistent while providing better defaults and improved usability. Changes:

  • -f (--file) replaces the existing --files flag is now supported on all 4 commands. The old --files was a comma separated string while the new -f can be used multiple times and will autocomplete files
  • -f cannot be combined with a position ENVIRONMENT option on any command since it was confusing and inconsistent
  • vault view and vault edit no longer require an argument. They will default to showing a select input UI to choose from a vault file.

image

  • vault encrypt and vault decrypt no longer require an argument. Both will default to all vault files.

Closes #356

@swalkinshaw swalkinshaw force-pushed the consistent-vault-commands branch 2 times, most recently from c21c181 to 6b1b03e Compare April 27, 2023 03:18
@swalkinshaw swalkinshaw force-pushed the consistent-vault-commands branch from 6b1b03e to c9c1bf0 Compare July 25, 2023 02:19
@swalkinshaw swalkinshaw marked this pull request as ready for review July 25, 2023 02:20
@swalkinshaw swalkinshaw merged commit 6668dcb into master Aug 22, 2023
@swalkinshaw swalkinshaw deleted the consistent-vault-commands branch August 22, 2023 02:00
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.

Bug: trellis vault edit staging "no such file"
1 participant