Releases: marevers/pleasant-cli
Releases · marevers/pleasant-cli
v0.5.0
- New feature:
patch entry/folder
: with these commands, you can patch existing entries and folders which allows for partial updates, e.g. just the name or password. You can also set user access assignments with--useraccess
. - New feature: the timeout used for HTTP calls towards the server is now configurable. The default value remains 20 seconds but should you want to use a longer/shorter timeout, you can configure it like such:
pleasant-cli config timeout <seconds>
. This configuration is persisted in the configuration file. - Bugfix: the login command would not verify if the server URL was set. This verification has been added.
- Bugfix: Commands where
--path
was used could sometimes end up unintentionally matching entries/folders with object names that were not fully equal. This matching mechanism has seen an additional validation added that should prevent this now.
Changelog
- de74c23 Add patch entry and patch folder commands
- 3829567 Add user access assignment functionality to patch entry and patch folder commands
- 8dd6f24 Bump version to v0.5.0
- 72f9aa5 Display server error message on unmatched error
- 875f4a5 Make timeout configurable, verify serverurl set for login command
- af262ce Prevent non-fully matching paths to match for --path
- f72936d Refactor loading current configuration
- 0763610 Update patch command description
v0.4.0
- New feature:
delete entry/folder --useraccess
: you can now archive/delete user access assignments by appending--useraccess <accessrowid>
to either thedelete entry
ordelete folder
commands. This will remove a user's access to the entry/folder, rather than deleting the object itself. You can find the access row id by running e.g.pleasant-cli get entry --id <id> --useraccess
.
Changelog
v0.3.1
v0.3.0
- New feature:
get entry --username
: you can now retrieve just the username for an entry by using the --username flag. Useful for automation/scripting purposes where you need to get the username (and password with --password) without the need for additional parsing. - New feature: Double quote trimming for
get entry --password
: the output for this command now automatically trims the double quotes around the output which improves compatibility when used for automation/scripting purposes.
Changelog
v0.2.0
- New feature:
delete entry
anddelete folder
: you can now delete entries and folders. By default, they will archived (if that is enabled on the server). By using--delete
you can delete them instantly (careful, as that is irreversible). - New feature:
get passwordstrength
: allows you to test the strength of a given password against the server. - New feature:
get serverinfo
: gets information about the Pleasant Password server. - New feature:
--pretty
: new flag for theget
andsearch
commands. Indents the output, rather than outputting the JSON in one line. - Bug fix: some possible problems fixed that could cause the execution to continue even though it should have exited out already.
Changelog
- 31be022 Add --pretty flag for pretty-printing output to get and search commands
- 016acc9 Add delete entry and delete folder commands
- 39df214 Add get passwordstrength command
- 3483565 Add get serverinfo command
- 144b67c Adjust descriptions for get command
- f7d01d4 Fix some error handling
- 80eeffb Set version to v0.2.0
v0.1.0
- New feature: with
apply entry
andapply folder
you can create and update entries and folders with a single command - which is useful when using pleasant-cli in automation scripts and the like. If a matching entry does not exist, it is created. If it does, it is updated in place with any changes there might be in the JSON input.
Changelog
v0.0.3
v0.0.2
- Adds --no-duplicates flag for entry and folder creation to prevent creation of entries/folders with identical names.
- Adds --useraccess flag to retrieve list of users that have access to an entry/folder.
- Some refactoring.
Changelog
v0.0.1
Pleasant CLI v0.0.1
This is the initial release of Pleasant CLI. It's a simple CLI for Pleasant Password Server.
It is built using Cobra and Viper.
It can currently perform simple tasks:
- Get entries & folders
- Get entry passwords and attachments
- Get access levels
- Create entries & folders
Planned to add next:
- Patching entries & folders
- no-duplicates flag (folders/entries in the same location with the same name will not be created*)
Suggestions and feedback are very welcome.
*Pleasant Password Server allows entries in the same folder with the same name. The flag will allow you to prevent creation of an entry if another entry with the same name already exists in the target location.