Skip to content
Snippets Groups Projects
Commit 2ae3a5ef authored by Erik Hedenström's avatar Erik Hedenström
Browse files

refactor: Refactor command logic, and improve error handling

- Modify `delete` command to require exactly 2 arguments
- Simplify error-handling logic in retrieving secrets from vault in `password` command
- Update `upload.go` to use `os.ReadFile` instead of `ioutil.ReadFile`
- Fix error in `download` command's argument checking and change return type to `os.WriteFile`
- Rename command line argument `value` to `[value]` in `write` command
parent 745bfbe1
Loading
Checking pipeline status