git.schokokeks.org
Repositories
Help
Report an Issue
derivepassphrase.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4bfbfa3
Branches
Tags
documentation-tree
master
0.1.0
0.1.1
0.1.2
0.1.3
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.4.0
derivepassphrase.git
docs
changelog.d
20241208_175929_the-13th-letter_logging.md
Add small fixes to changelog, docstrings and variable names
Marco Ricci
commited
4bfbfa3
at 2024-12-25 17:15:23
20241208_175929_the-13th-letter_logging.md
Blame
History
Raw
### Added - Both `derivepassphrase vault` and `derivepassphrase export vault` now support changing the amount of diagnostic output they emit via new command-line options `--debug`, `-v`/`--verbose` and `-q`/`--quiet`. Internally, this uses Python's standard [logging][] and [warnings][] systems. ### Changed - Calling [`derivepassphrase_export`] [derivepassphrase.cli.derivepassphrase_export], [`derivepassphrase_export_vault`] [derivepassphrase.cli.derivepassphrase_export_vault] or [`derivepassphrase_vault`] [derivepassphrase.cli.derivepassphrase_vault], or calling [`derivepassphrase`] [derivepassphrase.cli.derivepassphrase] via its [`.main`][click.BaseCommand.main] method, causes those functions to use the standard Python [logging][] and [warnings][] facilities to issue diagnostic messages, without output to standard error. (This includes using [`click.testing.CliRunner`][], which uses `.main` calls under the hood.) Calling [`derivepassphrase`] [derivepassphrase.cli.derivepassphrase] directly as a function diverts diagnostic messages to standard error.