Expand description
ยงBitwarden CLI (testing)
A testing CLI for the Bitwarden Password Manager SDK.
Modulesยง
- admin_
console ๐ - auth ๐
- client_
state ๐ - Compile-time client-state machine for CLI commands.
- command ๐
- CLI command definitions and argument parsing for the Bitwarden CLI (
bw). - dirt ๐
- key_
management ๐ - platform ๐
- render ๐
- tools ๐
- vault ๐
Functionsยง
- db_
config ๐ - init_
cli_ ๐platform_ info - legacy_
temp_ ๐login - One-shot bootstrap login for commands that need an authenticated user before
bw loginwrites its own session state. When theBW_EMAIL/BW_PASSWORDenv vars are set, logs in against the persisted session database, persists the resulting session state (tokens, login method, account crypto state, and a session-key envelope), and mints a session key which it prints for the user to export asBW_SESSIONand reuse on subsequent runs. Does nothing when the env vars are unset. - main ๐
- process_
commands ๐ - rehydrate_
user ๐ - Rehydrate a [
PasswordManagerClient] from the persisted session database.