Skip to content

CLI

The Somnio CLI is the main way to use Somnio from the command line. It requires the optional dependency group: install with somnio[cli] (see Installation).

Usage

somnio [OPTIONS] COMMAND [ARGS]...

Running somnio with no arguments (or with --help) shows available commands. Global options must appear before the command name. See CLI for the full reference.

Shell completion

To install shell completion for the current shell:

somnio --install-completion

To show the completion script without installing it:

somnio --show-completion