summaryrefslogtreecommitdiff
path: root/src/biruda.ggo
blob: 27d7818909a7dec3136091e9ebcb66e80190902a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package "Biruda build service"
version "0.0.1"
usage "biruda [options]"
description "Biruda Service"

section "Main Options"
	option "config-file" c
		"the location of the service configuration file (optional, default is /etc/biruda/biruda.conf)"
		string typestr="file"
		optional
		
	option "test" t
		"test the configuration, don't start the service"
		optional

	option "print" p
		"print the configuration, don't start the service"
		optional

	option "verbose" v
		"increase verbosity (can be given multiple times)"
		optional multiple
	
section "Unix Daemon"

	option "foreground" f
		"run in foreground, don't daemonize"
		optional

	option "pidfile" -
		"where to store the PID of the daemon"
		string typestr="filename"
		optional

	option "group" -
		"the unpriviledged group the daemon should run as"
		string typestr="group"
		optional

	option "user" -
		"the unpriviledged user the daemon should run as"
		string typestr="user"
		optional

section "Command Line Interface"

	option "cli" i
		"start in command line interface (CLI), interactive mode"
		optional
	
	option "no-colors" -
		"disable colors in CLI mode"
		optional

	option "filename" F
		"filename to read commands from and execute them"
		string typestr="filename"
		optional

section "Rarely used commands"
	
	option "human-readable" -
		"try to display output in a form suitable for humans and not for computers"
		optional
		
	option "guess-env" -
		"guess environment (used also internally)"
		optional

	option "generate-config" -
		"generates an initial documented configuration"
		optional