Menu

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.

--ci

Never prompt; a true CI environment variable does the same

-h, --help

Print a command's help.

-V, --version

Print the CLI's version.

Commands

install

Install the Chromium runtime the project uses

dev

Run the application, installing its Chromium runtime when missing

run

Run the application with Cargo, installing its Chromium runtime when missing

bundle

Build the application and package it for distribution

new

Create a project from a starter or template

init

Add Kurogane to an existing frontend project

clean

Remove the project's dist/ and Kurogane's caches

showcase

Run Kurogane's showcase application

doctor

Check the Chromium runtime, toolchain and project

list

List application profiles and versions

info

Show the CLI, environment and project configuration

self

Manage the kurogane CLI itself

self uninstall

Remove 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]
--debug

Build 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

--sign

Sign 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

--yes

Allow 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

--yes

Allow 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]

all also removes tanso's shared Chromium installation, build tools and every application profile

One of all.

--yes

Accept the confirmation without prompting

kurogane showcase

Run Kurogane's showcase application

kurogane showcase [OPTIONS]
--yes

Allow the template's hooks to run commands without asking

kurogane doctor

Check the Chromium runtime, toolchain and project

kurogane doctor [OPTIONS]
--json

Print 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]
--yes

Accept the confirmation without prompting

--keep-data

Keep the installed Chromium runtimes and caches