Basic usage
Global options
Help and version
Display help information and exit.
Display version information including build date and git hash.Example output:
Output modes
Display modes
Disable ASCII art display and show only system information.
Output system information in JSON format. Overrides Example output:
--no-ascii.Pretty-print JSON output with indentation. Only valid when Example output:
--json is used.Output system information in the specified format (requires plugin support).Available formats depend on loaded plugins (e.g.,
markdown, yaml).Output a single line using a template string with placeholders.Available placeholders:Example output:
{date}- Current date{host}- Hostname{os}- Operating system{kernel}- Kernel version{cpu}- CPU information{gpu}- GPU information{ram}- RAM usage{disk}- Disk usage{uptime}- System uptime{shell}- Current shell{de}- Desktop environment{wm}- Window manager{packages}- Package counts{weather}- Weather information (if plugin enabled){playing}- Currently playing media
Diagnostic modes
Reports any failed readouts and their error messages. Useful for troubleshooting.Example output:
Print timing information for each data source to measure performance.Example output:
Logging and debugging
Enable verbose logging. Overrides
--log-level. Sets log level to Debug.Set the minimum log level for output.Valid values:
Trace, Debug, Info, Warn, Error, CriticalCache management
Clears the cache and exits. This removes all cached data, including in-memory and on-disk copies.Example output:
Ignore cache for this run. Fetches fresh data without reading or writing to on-disk cache.
Localization
Set the language for localization. If not specified, uses the system language or configuration file setting.Supported languages:
en, es, fr, de, and more.Logo customization
These flags override logo settings from the configuration file.Path to an image file to render in the logo area.Supported formats depend on the protocol (typically PNG, JPEG).
Logo image protocol to use for rendering.Valid values:
kitty- Kitty terminal graphics protocolkitty-direct- Kitty direct rendering modeiterm2- iTerm2 inline images protocol
Logo image width in pixels. A value of 0 uses the default width.
Logo image height in pixels. A value of 0 automatically calculates height from aspect ratio.
Plugin management
These options are only available when Draconis++ is built with plugin support (DRAC_ENABLE_PLUGINS).
List all available and loaded plugins.Example output:
Show detailed information about a specific plugin.Example output:
Configuration
Display the active configuration file location and exit.Example output:
If built with
DRAC_PRECOMPILED_CONFIG, displays:Generate shell completion script for the specified shell and exit.Supported shells:
bash, zsh, fish, powershellFlag precedence
When multiple flags affect the same setting, the following precedence applies:- Command-line flags (highest priority)
- Configuration file settings
- Default values (lowest priority)
Examples of flag interactions
--verboseoverrides--log-level--jsonoverrides--no-ascii- Logo flags (
--logo-*) override configuration file logo settings --langoverrides the language setting in the configuration file
Exit codes
| Code | Description |
|---|---|
| 0 | Success |
| 1 | General failure or error |
Examples
Basic system information
JSON output for scripts
Custom logo display
Compact template output
Diagnostics and debugging
Cache management
Localization
Plugin management
See also
CLI overview
Introduction to the Draconis++ CLI tool.
Customization
Configure Draconis++ with TOML files and custom settings.