Skip to content
Download

Command line

The commitline command starts Commitline, quits it, and tells you how it's doing, from any terminal.

Get the command

SystemHow
WindowsThe installer adds it to your PATH. Open a new terminal to use it.
macOSChoose Commitline › Install command in PATH. It links the command into /usr/local/bin, and asks for an administrator's permission.
Linux, .debIt's installed as /usr/bin/commitline.
Linux, AppImageRun the AppImage with --command-line first, such as ./Commitline-0.0.1-linux-x64.AppImage --command-line status.

Commands

CommandWhat it does
commitline openStarts Commitline, or brings its window forward.
commitline quitQuits Commitline, as its Quit does. It never starts it.
commitline statusSays whether Commitline is running, its modules, and any work in progress. It never starts it.
commitline commandsLists the commands Commitline's parts offer.
commitline run with a commandRuns one of those commands, and prints its result.
commitline helpShows the help, or with a module's name, that module's commands.

The command never opens a window of its own: it talks to the Commitline that's running.

Options

OptionWhat it does
--jsonPrints the answer as JSON, for scripts.
--no-startDoesn't start Commitline when it isn't running.
--timeout with a number of secondsWaits at most that long, from 1 to 3,600.
--data-dir with a folderUses another data folder.
--helpShows the help.

Exit codes

CodeMeans
0It worked.
1It failed.
2The command was mistyped.
3Commitline isn't running.
4Another build of Commitline is running.
5The data folder can't be used.
6It timed out, or was cancelled.
7The module isn't on.
8Commitline is installing an update.
9Part of the command didn't stop.