Skip to content

πŸ‘©β€πŸ’» Dashlane CLI - Access your secrets in your terminal, servers and CI/CD

License

Notifications You must be signed in to change notification settings

Dashlane/dashlane-cli

Repository files navigation

Dashlane CLI

GitHub GitHub package.json version Documentation Website

Dashlane CLI Demo

Install

Follow our installation guide to install the CLI on your computer or server.

How to use

For development

Install the dependencies:

yarn

In order to build:

yarn run build

In order to link:

yarn link

In order to bundle for Linux-x64, macOS-x64 and Windows-x64:

yarn run pkg

It outputs in bundle directory. Be aware you must use the same Node version as the target.

Note

If you're using vscode, you need to enable eslint flat configuration in your settings .vscode/settings.json.

"eslint.experimental.useFlatConfig": true`

Debug mode

You can use --debug to see all the debug logs of the CLI.

How to bump the version

yarn run version:bump

This will change the version of the application with the following rules

  • It won't change the major version.
  • The minor version will be set to match the following format
    • 2 digits corresponding to the last digit of the current year (ex: 24 for 2024)
    • 2 digits corresponding to the number of the current week (ex: 01 for the first week of the year)
  • The patch will be :
    • set to 0 if the minor version has changed
    • incremented from the previous version of the patch otherwise

How private data is stored on the computer

See src/modules/crypto/README.md.

Contributing

Feel free to contribute to this project, fork and pull request your ideas. Don't include work that is not open source or not from you.