kurogane 0.0.6-beta.1
CLI reference
Every command of the kurogane CLI, generated from its own definitions.
kurogane [OPTIONS] <COMMAND>
Global options
These work with every command.
--ciNever prompt; a true
CIenvironment variable does the same-h, --helpPrint a command's help.
-V, --versionPrint the CLI's version.
Commands
installInstall the Chromium runtime the project uses
devRun the application, installing its Chromium runtime when missing
runRun the application with Cargo, installing its Chromium runtime when missing
bundleBuild the application and package it for distribution
newCreate a project from a starter or template
initAdd Kurogane to an existing frontend project
cleanRemove the project's dist/ and Kurogane's caches
showcaseRun Kurogane's showcase application
doctorCheck the Chromium runtime, toolchain and project
listList application profiles and versions
infoShow the CLI, environment and project configuration
selfManage the kurogane CLI itself
self uninstallRemove an installer-managed Kurogane installation
kurogane install
Install the Chromium runtime the project uses.
Outside a project, installs the version this CLI was built with.
kurogane install [OPTIONS]
kurogane dev
Run the application, installing its Chromium runtime when missing
kurogane dev [OPTIONS]
kurogane run
Run the application with Cargo, installing its Chromium runtime when missing.
Unlike dev, this command passes arguments directly to Cargo.
kurogane run [OPTIONS] [CARGO_ARGS]...
[CARGO_ARGS]...Arguments for Cargo. Those after
--reach the application
kurogane bundle
Build the application and package it for distribution
kurogane bundle [OPTIONS]
--debugBuild with Cargo's dev profile instead of release
--format <FORMAT>Package format (dir or appimage on Linux, dir or nsis on Windows, app on macOS). The default is app on macOS and dir elsewhere
--signSign the bundle's Windows binaries ([signing.windows]) or macOS app ([signing.macos]). Linux bundles are not signed
kurogane new
Create a project from a starter or template
kurogane new [OPTIONS] [STARTER]
[STARTER]Official starter (minimal, react, svelte or vue)
--name <NAME>Project name
--language <LANGUAGE>Starter language
--template <TEMPLATE>Use a template from a local path, git URL or cargo-generate shorthand such as gh:owner/repository
--values <FILE>Read placeholder values from this TOML file
--yesAllow the template's hooks to run commands without asking
kurogane init
Add Kurogane to an existing frontend project
kurogane init [OPTIONS]
--assets <ASSETS>Frontend assets directory
--dev-url <DEV_URL>Dev server URL
--yesAllow the template's hooks to run commands without asking
kurogane clean
Remove the project's dist/ and Kurogane's caches
kurogane clean [OPTIONS] [TARGET]
[TARGET]allalso removes tanso's shared Chromium installation, build tools and every application profileOne of
all.--yesAccept the confirmation without prompting
kurogane showcase
Run Kurogane's showcase application
kurogane showcase [OPTIONS]
--yesAllow the template's hooks to run commands without asking
kurogane doctor
Check the Chromium runtime, toolchain and project
kurogane doctor [OPTIONS]
--jsonPrint the full report as JSON
kurogane list
List application profiles and versions
kurogane list [OPTIONS] [TARGET]
[TARGET]Only profiles or only versions; both by default
One of
profiles,version.
kurogane info
Show the CLI, environment and project configuration
kurogane info [OPTIONS]
kurogane self
Manage the kurogane CLI itself
kurogane self [OPTIONS] <COMMAND>
Subcommands: uninstall
kurogane self uninstall
Remove an installer-managed Kurogane installation.
Removes the CLI, PATH setup, Kurogane's caches and tanso's shared Chromium runtimes, which other tanso projects use too. Application profiles and unmanaged installations are preserved.
kurogane self uninstall [OPTIONS]
--yesAccept the confirmation without prompting
--keep-dataKeep the installed Chromium runtimes and caches