-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathnfpm.sh
80 lines (70 loc) · 2.22 KB
/
nfpm.sh
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
#!/usr/bin/env bash
# Automatic generated, DON'T MODIFY IT.
# @flag -h --help help for nfpm
# @flag -v --version version for nfpm
# {{ nfpm completion
# @cmd Generate the autocompletion script for the specified shell
# @flag -h --help help for completion
completion() {
:;
}
# {{{ nfpm completion bash
# @cmd Generate the autocompletion script for bash
# @flag -h --help help for bash
# @flag --no-descriptions disable completion descriptions
completion::bash() {
:;
}
# }}} nfpm completion bash
# {{{ nfpm completion fish
# @cmd Generate the autocompletion script for fish
# @flag -h --help help for fish
# @flag --no-descriptions disable completion descriptions
completion::fish() {
:;
}
# }}} nfpm completion fish
# {{{ nfpm completion powershell
# @cmd Generate the autocompletion script for powershell
# @flag -h --help help for powershell
# @flag --no-descriptions disable completion descriptions
completion::powershell() {
:;
}
# }}} nfpm completion powershell
# {{{ nfpm completion zsh
# @cmd Generate the autocompletion script for zsh
# @flag -h --help help for zsh
# @flag --no-descriptions disable completion descriptions
completion::zsh() {
:;
}
# }}} nfpm completion zsh
# }} nfpm completion
# {{ nfpm init
# @cmd Creates a sample nfpm.yaml configuration file
# @option -f --config <file> path to the to-be-created config file (default "nfpm.yaml")
# @flag -h --help help for init
init() {
:;
}
# }} nfpm init
# {{ nfpm jsonschema
# @cmd Outputs nFPM's JSON schema
# @flag -h --help help for jsonschema
# @option -o --output <path> where to save the json schema (default "-")
jsonschema() {
:;
}
# }} nfpm jsonschema
# {{ nfpm package
# @cmd Creates a package based on the given config file and flags
# @option -f --config <file> config file to be used (default "nfpm.yaml")
# @flag -h --help help for package
# @option -p --packager[apk|archlinux|deb|ipk|rpm] <string> which packager implementation to use
# @option -t --target <file> where to save the generated package (filename, folder or empty for current folder)
package() {
:;
}
# }} nfpm package
command eval "$(argc --argc-eval "$0" "$@")"