Releases: marevers/pleasant-cli
Releases · marevers/pleasant-cli
v0.8.0
While this release does not provide any new functionality, with every release from now on (starting with v0.8.0) a minimal Alpine-based Docker image is provided. This image can be used to automate Pleasant Password Server interactions within Docker-based environments (e.g. Kubernetes, Docker Compose).
It is provided through ghcr.io:
- Pinned version:
ghcr.io/marevers/pleasant-cli:v0.8.0
- Latest:
ghcr.io/marevers/pleasant-cli:latest
Changelog
v0.7.0
v0.6.0
- New feature: all commands now exit with exit code 1 if an error occurred. Previously, exit code 0 was used, even on an error. This improves integration of pleasant-cli with automation scripts that need to check whether a command was successful or not.
Changelog
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.