diff options
author | Daniel Mueller <deso@posteo.net> | 2020-08-25 19:04:50 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-08-25 19:04:50 -0700 |
commit | 62509c100c876b6d427673709a530c481ec7e4c0 (patch) | |
tree | d7511ab0ec73b4449dca581244b4d428a4df845f /CHANGELOG.md | |
parent | 598d07ff6c8acc4476e24be89058c5d45de5db01 (diff) | |
download | nitrocli-62509c100c876b6d427673709a530c481ec7e4c0.tar.gz nitrocli-62509c100c876b6d427673709a530c481ec7e4c0.tar.bz2 |
Introduce support for user-provided extensions
This change introduces support for discovering and executing
user-provided extensions to the program. Extensions are useful for
allowing users to provide additional functionality on top of the
nitrocli proper. Implementation wise we stick to an approach similar to
git or cargo subcommands in nature: we search the directories listed in
the PATH environment variable for a file that starts with "nitrocli-",
followed by the extension name. This file is then executed. It is
assumed that the extension recognizes (or at least not prohibits) the
following arguments: --nitrocli (providing the path to the nitrocli
binary), --model (with the model passed to the main program), and
--verbosity (the verbosity level).
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8782b38..70e86c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ Unreleased ---------- - Added support for the Librem Key +- Added support for user provided extensions through lookup via the + `PATH` environment variable - Added the `fill` command that fills the SD card of a Nitrokey Storage device with random data - Added the `termion` dependency in version `1.5.5` |