gritpack installer [OPTIONS] <COMMAND>
Commands
- build
- Build a download that installs an application and Gritpack
Options
gritpack installer build
Build a download that installs an application and Gritpack
gritpack installer build [OPTIONS] <PACKAGE>
Arguments
<PACKAGE> | Application the installer installs |
Options
--platform <PLATFORM> | Platform of the download: linux, an install script (which also runs in macOS terminals); macos, an Install <Title> application with the installer's window, as a .dmg on a Mac and a .zip elsewhereDefault: linux |
--title <TITLE> | The application's name in the download; default the package's name |
--invitation-code-file <INVITATION_CODE_FILE> | Make an invitation download (macOS): it installs Gritpack, then logs in with the one-time code read from this file (never printed) |
--invitation-email <INVITATION_EMAIL> | The invited account's email |
--invitation-hub <HUB> | The inviting hub's enrollment address, host:port |
--invitation-package-hub <HUB> | The inviting hub's package address, host:port |
--invitation-profile <INVITATION_PROFILE> | The profile the login createsDefault: frogfish |
--invitation-expires-at <INVITATION_EXPIRES_AT> | When the code stops working, Unix seconds |
--output <OUTPUT> | Where to write it; default install-<name>.sh, or Install <Title>.dmg/.zip |
-h, --help | Print help (see a summary with '-h') |
Hub connection
--hub <HUB> | The hub, as host[:port] or https://host[:port]Environment: GRITPACK_SERVER |
--cert <CERT> | Client certificate for the hubEnvironment: GRITPACK_CERT |
--key <KEY> | Private key for the client certificateEnvironment: GRITPACK_KEY |
--ca <CA> | Certificate authority used to authenticate the hubEnvironment: GRITPACK_CA |
--profile <PROFILE> | Login profile to use; cannot be combined with --hub, --cert, --key or --caEnvironment: GRITPACK_PROFILE |
--config <CONFIG> | Profile configuration fileEnvironment: GRITPACK_CONFIG · Default: ~/.frogfish/gritpack/config.toml |
--credentials-dir <CREDENTIALS_DIR> | With --hub alone: directory searched for your login; exactly one may be unexpiredEnvironment: GRITPACK_CREDENTIALS_DIR · Default: ~/.frogfish/gritpack/credentials |
--cache-dir <CACHE_DIR> | Directory of the shared cache of downloaded package filesEnvironment: GRITPACK_CACHE_DIR · Default: ~/.frogfish/gritpack/cache |
--jobs <JOBS> | How many package downloads to run at once (1-64)Environment: GRITPACK_JOBS · Default: 4 |
Use one hub only
--from <HUB> | Use only this hub, instead of the hubs your logins configure |
--from-cert <FROM_CERT> | Client certificate for the --from hub |
--from-key <FROM_KEY> | Private key for the --from client certificate |
--from-ca <FROM_CA> | Certificate authority used to authenticate the --from hub |