This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanpage.1
204 lines (167 loc) · 4.27 KB
/
manpage.1
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
.TH "SMNG" "1" "28 September 2022" "smng 2.3.1" ""
.hy
.SH NAME
.PP
smng - SchokiManager for personal work time management
.SH SYNOPSIS
.PP
\f[B]smng\f[R] command [arguments]
.SH DESCRIPTION
.PP
Personal working time manager, to monitor the time you worked on each
project.
.SH COMMANDS
.SS Info Commands (Information on the program and it's usage)
.PP
\f[B]help | h\f[R]
.RS 4
Prints all help messages.
.RE
.PP
\f[B]about | abt\f[R]
.RS 4
Prints information about the application.
.RE
.SS Project Commands (adding, editing, deleting)
.PP
\f[B]add-project | ap\f[R] \f[I]project_name\f[R]
.RS 4
Add a new project.
.RE
.PP
\f[B]show-projects | sp\f[R]
.RS 4
Show all projects.
.RE
.PP
\f[B]edit-project | ep\f[R] \f[I]project_id\f[R] \f[I]project_name\f[R]
.RS 4
Set project name of given project.
.RE
.PP
\f[B]archive-project\f[R] \f[I]project_id\f[R]
.RS 4
Archive or unarchive a project.
.RE
.PP
\f[B]delete-project\f[R] \f[I]project_id\f[R] [\f[I]purge\f[R]]
.RS 4
Delete given project and if "true" is given to argument \f[I]purge\f[R] delete all records from that project.
.RE
.SS Record Commands (adding, editing, deleting)
.PP
\f[B]record | r\f[R] \f[I]project_id\f[R]
.RS 4
Start recording work time on given project.
.RE
.PP
\f[B]status\f[R]
.RS 4
Show current work status.
.RE
.PP
\f[B]stop | s\f[R] \f[I]description\f[R]
.RS 4
Stop recording work time with given description.
.RE
.PP
\f[B]add-record | ar\f[R] \f[I]project_id\f[R] \f[I]description\f[R] \f[I]begin_year\f[R] \f[I]begin_month\f[R] \f[I]begin_day\f[R] \f[I]begin_hour\f[R] \f[I]begin_minute\f[R] \f[I]end_year\f[R] \f[I]end_month\f[R] \f[I]end_day\f[R] \f[I]end_hour\f[R] \f[I]end_minute\f[R]
.RS 4
Add a new complete record.
.RE
.PP
\f[B]edit-record-project | erp\f[R] \f[I]record_id\f[R] \f[I]project_id\f[R]
.RS 4
Set project of given record.
.RE
.PP
\f[B]edit-record-begin | erb\f[R] \f[I]record_id\f[R] \f[I]year\f[R] \f[I]month\f[R] \f[I]day\f[R] \f[I]hour\f[R] \f[I]minute\f[R]
.RS 4
Set begin of given record.
.RE
.PP
\f[B]edit-record-end | ere\f[R] \f[I]record_id\f[R] \f[I]year\f[R] \f[I]month\f[R] \f[I]day\f[R] \f[I]hour\f[R] \f[I]minute\f[R]
.RS 4
Set end of given record.
.RE
.PP
\f[B]edit-record-description | erd\f[R] \f[I]record_id\f[R] \f[I]description\f[R]
.RS 4
Set description of given record.
.RE
.PP
\f[B]delete-record\f[R] \f[I]record_id\f[R]
.RS 4
Delete given record.
.RE
.PP
\f[B]transfer-project-records\f[R] \f[I]source_project_id\f[R] \f[I]destination_project_id\f[R]
.RS 4
Transfer all records from one project to another.
.RE
.PP
\f[B]swap-project-records\f[R] \f[I]project_id_a\f[R] \f[I]project_id_b\f[R]
.RS 4
Swap records of two projects.
.RE
.SS Report Commands (show records)
.PP
\f[B]show-week | sw\f[R] [\f[I]year\f[R] \f[I]month\f[R] \f[I]day\f[R]]
.RS 4
Show records of a given week or if none given current week.
.RE
.PP
\f[B]show-month | sm\f[R] [\f[I]year\f[R] \f[I]month\f[R]]
.RS 4
Show records of a given month or if none given current month.
.RE
.PP
\f[B]show-project-records\f[R] \f[I]project_id\f[R]
.RS 4
Show records of a certain project.
.RE
.SS Administration Commands (handling configurations and databases)
.PP
\f[B]merge-db | mdb\[R] \f[I]source_database_path\f[R] \f[I]destination_database_path\f[R]
.RS 4
Merge projects and records of two databases.
.RE
.PP
\f[B]show-cfg-path | scp\f[R]
.RS 4
Show path of currently used config.
.RE
.PP
\f[B]show-db-path | sdbp\f[R]
.RS 4
Show path of currently configured database.
.RE
.SH FILES
.PP
.I
/etc/smng.d/db_path
.PP
.I
/usr/local/man/man1/smng.1
.PP
.I
/usr/share/bash-completion/completions/smng
.SH COPYRIGHT
.PP
SchokiManager Copyright (C) 2021 Andy Frank Schoknecht
.PP
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.PP
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.PP
You should have received a copy of the GNU General Public License along
with this program; if not see
<https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>.
.SH AUTHOR
Andy Frank Schoknecht