- `--no-gpg` disables the GnuPG key generation and related setup
routines
- `--no-ssh` does the same for the OpenSSH setup
-- `--gpg-home` sets the directory for the GnuPG files
-- `--ssh-home` does the same for OpenSSH files
+- `--gpg-home` sets the directory for the GnuPG files (defaults to the
+ value of `GNUPGHOME` or `~/.gnupg`)
+- `--ssh-home` does the same for OpenSSH files (defaults to `~/.ssh`)
There is also `-h/--help` and `-v/--version` as expected.
+# ENVIRONMENT
+
+- `FULLNAME`, `EMAIL`, `USER` are used to pre-fill the corresponding
+ fields
+
# INSTALLATION
Until I set up a better routine:
gnupg_group.add_argument (
"--gpg-home",
dest = "gnupg_home",
- default = "~/.gnupg",
+ default = os.getenv("GNUPGHOME") or "~/.gnupg",
metavar = "PATH",
help = "Default directory for GnuPG files.")
openssh_group = parser.add_argument_group (