Documentation
¶
Overview ¶
Package cli is the lfr command line: the only way to operate a server. Every command except init, serve, version and skills talks to the running server over its local control socket.
Index ¶
Constants ¶
View Source
const ( ExitOK = 0 ExitFailure = 1 ExitUsage = 2 ExitNotRunning = 3 ExitInterrupt = 130 )
Exit codes.
View Source
const ( RemoteEnv = "LFR_REMOTE" // user@host (or an ssh alias) running the lfr server RemoteDataEnv = "LFR_REMOTE_DATA" // the server's data directory when not the default )
Remote operation: the CLI on a laptop drives the server over ssh.
View Source
const DefaultData = "/var/lib/lfr"
DefaultData is where lfr keeps its data unless --data or LFR_DATA say otherwise.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.