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

Fix value processor. Cover with tests. #14

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Fix value processor. Cover with tests. #14

merged 2 commits into from
Jan 21, 2025

Conversation

lexbritvin
Copy link
Collaborator

No description provided.

@lexbritvin lexbritvin merged commit 9ab631f into main Jan 21, 2025
4 checks passed
@davidferlay
Copy link
Contributor

Unexpected change in behavior:

  • Observed: User is not prompted anymore for value in case it is not passed as argument
  • Expected: User should be prompted for value in case it is not passed as argument
➜ plasmactl keyring:set vaultpass // old plasmactl
Value:                                                
➜ ./plasmactl keyring:set vaultpass // new plasmactl
  ERROR   validation errors:
            - [arguments value]: got null, want string

It should also be possible to pass value as arg/option. Both ways to input value is required

➜ plasmactl keyring:set vaultpass --help // old plasmactl
Keyring: Set: Store new key-value pair to keyring

Usage:
  plasmactl keyring:set key value [flags]

➜ ./plasmactl keyring:set vaultpass --help // new plasmactl
Keyring: Set: Store new key-value pair to keyring

Usage:
  plasmactl keyring:set key value [flags]

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