Skip to content

teintuc/dashlane-cli

 
 

Repository files navigation

Dashlane CLI

GitHub GitHub package.json version Documentation Website

Dashlane CLI Demo

How to install with homebrew

brew install dashlane/tap/dashlane-cli

How to install (manually)

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.

How to use (read more in our documentation website)

In order to sync your vault (this is also the recommended first step):

dcli sync

In order to get a password, secure note or otp:

dcli p mywebsite
# will return any entry for which either the url or the title matches mywebsite

dcli p id=xxxxxx
# will return any entry for which the id matches xxxxxx

dcli p url=someurl title=mytitle
# will return any entry for which the url matches someurl, or the title matches mytitle

dcli p url,title=mywebsite
# will return any entry for which either the url or the title matches mywebsite

dcli note title=sample.md
# will return any secure note which matches the filters (similar to password filters)

dcli secret title=api_keys
# will return any secret which matches the filters (similar to password filters)

dcli otp [filters]
# will return any otp which matches the filters (similar to password filters)

Note: You can select a different output for passwords among clipboard, password, json. The JSON option outputs all the matching credentials.

Debug mode

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

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.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.3%
  • Other 0.7%