1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
Thomas Rittson
a5a3baea9c
Use same export filename format as other clients (#312) 2021-05-28 06:47:39 +10:00
Matt Gibson
57f7cf607a
Add send to cli (#222)
* Add list all sends and filter by search term

* Add get send templates

* Add AccessUrl to send responses

* Add Send to Get command

* Add missing command options to login

These options are already coded to work in the command, but commander
did not know about the options.

* Upgrade Commander to 7.0.0

This is needed to enable the subcommand chaining required by Send.

This commit also adds get send and send receive functionality. get send
will be moved to send get along with send list and any other send commands.

* Use api url for send access url

* Move send commands to send subcommands

* Use webvault access url everywhere

Production instances all have api url located at `baseUrl/api`.
Receive command will parse the webvault url and alter it to an api url.

* Move create and receive commands to send directory

* Separate program concerns

program holds authentication/general program concerns
vault.program holds commands related to the vault
send.program holds commands related to Bitwarden Send

* Fix up imports and lint items

* Add edit command

* Use browser-hrtime

* Add send examples to help text

* Clean up receive help text

* correct help text

* Add delete command

* Code review Cleanup

* Scheme on send receive help text

* PR review items

Move buffer to array buffer to jslib
delete with server
some formatting fixes

* Add remove password command

This is the simplest way to enable removing passwords without
resorting to weird type parsing of piped in Send JSONs in edit

* Default hidden to false like web

* Do not allow password updates that aren't strings or are empty

* Delete appveyor.yml.flagged-for-delete

* Correctly order imports and include tslint rule

* fix npm globbing problem

https://stackoverflow.com/a/34594501
globs work differently in package.json. Encasing the globs in
single quotes expands them in shell rather than in npm

* Remove double slash in path

* Trigger github rebuild
2021-02-03 11:44:33 -06:00
Kyle Spearrin
30b7b93fab
updates for encrypted export and import (#198)
* react to changes for encrypted import

* support encrypted json export

* default back to csv
2020-12-08 12:35:37 -05:00
Andreas Schneider
f2530c133e
Export to stdout (#152)
* describe file-saving and add helper to write to stdout if appropriate

* allow writing attachments to stdout

* allow writing export to stdout

* add help texts for export and get
2020-08-25 14:24:43 -04:00
Kyle Spearrin
f5426469bb only block interaction if env var set
resolves #118
2020-03-12 15:37:44 -04:00
Kyle Spearrin
e7450d27e4 prompt for unlock if can interact 2019-10-21 16:04:51 -04:00
Kyle Spearrin
93c2ce2582 allow org exports 2019-10-07 11:01:30 -04:00
Kyle Spearrin
a3ba833f0d move shared CLI items to jslib 2019-03-15 22:34:59 -04:00
Kyle Spearrin
920ce30dd0 export file format option 2018-12-17 10:36:40 -05:00
Casey Watson
4b99745114 Don't show * mask when entering password (#23)
- The * mask has the potential to leak the users password length and
should not be used.

Fixes #8
2018-08-16 16:01:25 -04:00
Kyle Spearrin
acd562e18c prelogin kdf info 2018-08-14 15:13:40 -04:00
Kyle Spearrin
f4948b099f cleanup unused imports 2018-07-05 16:21:11 -04:00
Kyle Spearrin
bfbe450256 export csv fix 2018-07-05 15:29:40 -04:00
Keith Kelly
c7160c0870 Use stderr for prompts to better allow scripting (#14)
* Update invocations of inquirer.js prompts to output prompt to stderr.

fixes #7

* Updates to use updated typings from @types/inquirer
2018-06-18 22:07:45 -04:00
Kyle Spearrin
200effe772 switch from readline sync to inquirer 2018-05-23 11:16:23 -04:00
Kyle Spearrin
df024379c8 get items attachment command 2018-05-17 13:28:22 -04:00
Kyle Spearrin
36421c9144 add export command 2018-05-17 10:58:30 -04:00