derivepassphrase.cli
¶
Command-line interface for derivepassphrase.
derivepassphrase
¶
derivepassphrase(ctx: Context) -> None
Derive a strong passphrase, deterministically, from a master secret.
This is a click
-powered command-line interface function,
and not intended for programmatic use. See the derivepassphrase(1)
manpage for full documentation of the interface. (See also
click.testing.CliRunner
for controlled, programmatic
invocation.)
derivepassphrase_export
¶
derivepassphrase_export(ctx: Context) -> None
Export a foreign configuration to standard output.
This is a click
-powered command-line interface function,
and not intended for programmatic use. See the
derivepassphrase-export(1) manpage for full documentation of the
interface. (See also click.testing.CliRunner
for controlled,
programmatic invocation.)
derivepassphrase_export_vault
¶
derivepassphrase_export_vault(
ctx: Context,
/,
*,
path: str | bytes | PathLike[str] | None,
formats: Sequence[
Literal["v0.2", "v0.3", "storeroom"]
] = (),
key: str | bytes | None = None,
) -> None
Export a vault-native configuration to standard output.
This is a click
-powered command-line interface function,
and not intended for programmatic use. See the
derivepassphrase-export-vault(1) manpage for full documentation of
the interface. (See also click.testing.CliRunner
for
controlled, programmatic invocation.)
derivepassphrase_vault
¶
Derive a passphrase using the vault(1) derivation scheme.
This is a click
-powered command-line interface function,
and not intended for programmatic use. See the
derivepassphrase-vault(1) manpage for full documentation of the
interface. (See also click.testing.CliRunner
for controlled,
programmatic invocation.)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ctx
|
Context
|
The |
required |
Other Parameters:
Name | Type | Description |
---|---|---|
service |
str | None
|
A service name. Required, unless operating on global settings or importing/exporting settings. |
use_phrase |
bool
|
Command-line argument |
use_key |
bool
|
Command-line argument |
length |
int | None
|
Command-line argument |
repeat |
int | None
|
Command-line argument |
lower |
int | None
|
Command-line argument |
upper |
int | None
|
Command-line argument |
number |
int | None
|
Command-line argument |
space |
int | None
|
Command-line argument |
dash |
int | None
|
Command-line argument |
symbol |
int | None
|
Command-line argument |
edit_notes |
bool
|
Command-line argument |
store_config_only |
bool
|
Command-line argument |
delete_service_settings |
bool
|
Command-line argument |
delete_globals |
bool
|
Command-line argument |
clear_all_settings |
bool
|
Command-line argument |
export_settings |
TextIO | PathLike[str] | None
|
Command-line argument |
import_settings |
TextIO | PathLike[str] | None
|
Command-line argument |
overwrite_config |
bool
|
Command-line arguments |
unset_settings |
Sequence[str]
|
Command-line argument |
export_as |
Literal['json', 'sh']
|
Command-line argument |
modern_editor_interface |
bool
|
Command-line arguments |
print_notes_before |
bool
|
Command-line arguments |