Skip to content

Releases: marevers/pleasant-cli

v0.8.0

17 Sep 17:41
Compare
Choose a tag to compare

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

  • b0d5580 Add another matcher for non-suffix tags
  • 452c6c8 Bump version to v0.8.0

v0.7.0

11 Sep 07:48
Compare
Choose a tag to compare

Changelog

  • 0e71d58 Bump version to v0.7.0, update Go version to 1.23, upgrade dependencies

v0.6.0

13 Jun 14:48
Compare
Choose a tag to compare
  • 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

22 Mar 08:53
Compare
Choose a tag to compare
  • 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

13 Mar 16:31
Compare
Choose a tag to compare
  • New feature: delete entry/folder --useraccess: you can now archive/delete user access assignments by appending --useraccess <accessrowid> to either the delete entry or delete 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

  • 120b4da Add user access assignment deletion/archival to delete entry and delete folder commands
  • 6e39da6 Bump version to v0.4.0, fix token file discovery when using a non-standard token path

v0.3.1

06 Mar 13:30
Compare
Choose a tag to compare

Changelog

  • 0580650 Fix bug with --token flag, bump version to v0.3.1

v0.3.0

15 Feb 11:58
Compare
Choose a tag to compare
  • 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

  • 99d5482 Add --username flag to retrieve username, remove double quotes from --password output
  • f9affa6 Bump version to v0.3.0
  • f5eaa13 Improve serverurl help message
  • fdc0463 Upgrade dependencies (cobra v1.8.0, golang.org/x/term v0.14.0

v0.2.0

18 Oct 09:33
Compare
Choose a tag to compare
  • New feature: delete entry and delete 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 the get and search 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

13 Oct 14:09
Compare
Choose a tag to compare
  • New feature: with apply entry and apply 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

  • 1db1ac4 Add apply entry and apply folder commands
  • 52c8acf Add new functions for apply commands, adjust README
  • 354c415 Adjust help message for create folder command
  • 563bbeb Set version to v0.1.0
  • 0609c09 Upgrade dependencies
  • 0c4e061 Use MarkFlagsOneRequired to check for required flags

v0.0.3

10 Oct 07:33
Compare
Choose a tag to compare

Changelog

  • ab20592 Change models to prevent issues with unmarshalling
  • 135331c Remove newline from login message
  • f953679 Set version to v0.0.3