* change to koa to support async/await
* get rid of session header
* error is unlocked for certain commands
* fix lint error
* use "object" routes
* revert change to vs code launch
* Create testing framework for CLI
- Need to add tsconfig for specs to convert module format and add spec
dir to output
- Use jasmine-ts to test
expected dev cycle would be to have two watchers, one for jslib
and one for CLI tests. We could add jslib tests to this jasmine config,
but it feels wrong to test a submodule
* Run prettier
* Add tests to build pipeline
* Include required package
* Add placeholder test
* Run prettier
* Add nodemon and fix watch
* Pull in jslib
* Bump engines required to node 16 and npm 8
* Bump @types/node to 16
* Modify build.yml to build with node 16 and npm 8
* Update requirements in README.md
* Update 'setup-node' action version
* Update 'pkg' to 5.5.1
* Removed installation of npm8
npm8 is included in node v16
* Pull jslib
* Change engines to only warn on node < 16
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
* Update dependencies
* Remove types which are no longer needed
* Bump jslib
* Revert pkg to 4.5.1 since 5.0.0 does not compile on linux.
* Bump pkg-fetch in build pipeline
* 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