forked from kriskbx/gitlab-time-tracker
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgtt.js
More file actions
executable file
·38 lines (32 loc) · 955 Bytes
/
gtt.js
File metadata and controls
executable file
·38 lines (32 loc) · 955 Bytes
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
#!/usr/bin/env node
import version from './version.js';
import { program } from 'commander';
import start from './gtt-start.js';
import create from './gtt-create.js';
import status from './gtt-status.js';
import stop from './gtt-stop.js';
import resume from './gtt-resume.js';
import cancel from './gtt-cancel.js';
import list from './gtt-list.js';
import log from './gtt-log.js';
import sync from './gtt-sync.js';
import edit from './gtt-edit.js';
import delCmd from './gtt-delete.js';
import report from './gtt-report.js';
import config from './gtt-config.js';
program
.version(version)
.addCommand(start())
.addCommand(create())
.addCommand(status())
.addCommand(stop())
.addCommand(resume())
.addCommand(cancel())
.addCommand(list())
.addCommand(log())
.addCommand(sync())
.addCommand(edit())
.addCommand(delCmd())
.addCommand(report())
.addCommand(config())
.parse(process.argv);