Skip to content

server

Manage the agent’s web server interfaces

Terminal window
conhive-agent server

Provides subcommands to interact with the agent’s built-in web server, if it includes one. This server might host a web UI for management or an API for programmatic access. These commands require the agent (and its server component) to be running (usually via the ‘run’ command).

Terminal window
-h, --help help for server
-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)