6ac9c2761a
- As clap can not use `Default` as advertised for certain types [1], use `Option<FileOrStdout>` instead in cases where the default is to import to cert-store. Semantically, this works as before: By default import to cert-store, when providing "-" output to stdout and when providing a file name output to the file. - Since `FileOrCertStore` can not wrap any other type under the given circumstances, turn it into an empty struct that only implements `ClapData` to provide static strings for the clap setup. - Adapt the help message for `FileOrCertStore` to mention, that providing "-" leads to output on stdout. Fixes #133 [1] https://github.com/clap-rs/clap/issues/4558 |
||
---|---|---|
.ci | ||
src | ||
subplot | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
deny.toml | ||
Dockerfile | ||
LICENSE.txt | ||
NEWS | ||
README.md | ||
sq-subplot.md | ||
sq.subplot |
sq, the Sequoia-PGP command line tool
Sequoia-PGP is an implementation of OpenPGP in Rust. It includes a
suite of library crates, which are meant to be used from applications.
This crate provides the sq
command line application. sq
is aimed
at command line users as a way to use OpenPGP conveniently from the
command line.
See the sq user guide for instructions. The program also has built-in
help, using the --help
option and help
subcommand:
$ sq help
...
These are collected as the sq help page, for your convenience.
Building
This crate can be built using the standard cargo
toolchain:
cargo build
The above creates the sq
executable and its shell completions.
To create the man pages for sq
in a directory (here manpages/
) use the
built executable:
SQ_MAN=manpages cargo run