-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpicv.yaml
More file actions
55 lines (44 loc) · 1.22 KB
/
picv.yaml
File metadata and controls
55 lines (44 loc) · 1.22 KB
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
# program name, name for the executable
ProgramName: picv
PackageName: main
Name: picv
Desc: "picture vault"
Text: Tool to deal with camera pictures and put them in vault
Global: true
#NumOption: cli.AtLeast(1)
NumArg: cli.AtLeast(1)
#UsageLead: "Usage:\\n picv [Options] dir [dirs...]"
Options:
# - Name: Dir
# Type: string
# Flag: '*d,dir'
# Usage: pic source dir
# Value: "./"
- Name: Verbose
Type: cli.Counter
Flag: v,verbose
Usage: Verbose mode (Multiple -v options increase the verbosity.)
Command:
- Name: cut
Desc: "Separate picture into groups"
# NumArg: cli.AtLeast(1)
#NumOption: cli.AtLeast(1)
# Handle the rest of CLI args ourselves
CanSubRoute: true
Options:
- Name: Gap
Type: int
Flag: g,gap
Usage: Gap in days to be considered as different group/vault
Value: 5
- Name: Pod
Type: int
Flag: p,pod
Usage: Minimum number of picture to have before splitting to a different group/vault
Value: 15
- Name: arch
Desc: "Archive groups of picture into vaults"
# NumArg: cli.AtLeast(1)
#NumOption: cli.AtLeast(1)
# Handle the rest of CLI args ourselves
CanSubRoute: true