Update Client Usage
install
subcommand can be helpful to locally test out a single given manifest file, as it makes it accepts local paths.
Thistle Release Helper Usage
Init subcommand
init
is used to initialize a working environment. This command will fetch a new device_enrollment_token
from the Thistle Platform Backend using the authentication token. In addition, the pre-enroll
option will automatically enroll a new device with the Thistle Backend and append the enrollment credentials into the newly created configuration file.
If no signing key is available at the given path (default ~/.minisign/minisign.key
) a new keypair will be generated.
Prepare subcommand
The prepare subcommand packages the indicated target, compresses it, adds it to the manifest, and signs this manifest with the private key. More options are available to add pre and post install scripts. Seetrh --help
for more information related to the supported options.
Release subcommand
The release subcommand publishes the assets previously prepared, amends the manifest with the new remote URLs, resigns this manifest, and uploads it according to the supplied authenticated token. Note that this command will automatically increase the release version in the manifest, and update the timestamp.Fetch-current subcommand
This subcommand can be used to fetch the latest manifest the Thistle Backend is currently holding for a givenTHISTLE_TOKEN
. The manifest will be fetched and written on disk at the specified path.
Identity subcommand
This subcommand helps create an identity file. If thepre-enroll
option is used, a device will be pre-enrolled with the Thistle Backend and the enrollment credentials will be appended in the identity file.