Skip to main content

Command Line Interface

Logging

CloverHub uses env_logger to provide formatted logging using the rust logging macros. The CLOVER_LOG environment variable can be used to adjust the log level of modules individually, or for the whole CLI. For example, during testing, a value such as clover::server=debug gives useful debugging info (like the master API key when CLOVER_MASTER_PRINT is true).

Run the Server

clover-hub run server

See: Server Component

Run the TUI

clover-hub run tui

See: TUI Component

Run Both

# you may also specify `aio`
clover-hub run