Skip to content

create

Create a default configuration file

Terminal window
conhive-agent config create

Generates a new configuration file populated with default settings. This is useful for initial setup or if you need to reset the configuration to its default state. The command will typically place the file in the expected default location, potentially overwriting an existing file if confirmed.

Terminal window
conhive-agent config create [flags]
Terminal window
-h, --help help for create
-f, --log-format string Specify the logging format (options: console,
json) (default "text")
-l, --log-level string Define the logging level (options: trace,
debug, info, warn, error, fatal, panic)
(default "info")
-o, --log-to-file Enable logging to a file (default true)
-p, --port int32 Port to run the server on (default 5050)
-w, --workdir string Set the working directory for agent operations
(default: $HOME/.conhive)