Skip to content

Commit 16d453f

Browse files
committed
add zsh autocompletion
Signed-off-by: Zen <[email protected]>
1 parent 4d2276b commit 16d453f

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

completion/_ugrd

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#compdef ugrd
2+
3+
_arguments \
4+
'--build-logging[Enable additional build logging.]' \
5+
'--no-build-logging[Disable additional build logging.]' \
6+
'-c[Config file location.]:config file:_files' \
7+
'--config[Config file location.]:config file:_files' \
8+
'--kernel-version[Set the kernel version.]:kernel version:_files -W /lib/modules -/' \
9+
'--kver[Set the kernel version.]:kernel version:_files -W /lib/modules -/' \
10+
'--clean[Enable build directory cleaning.]' \
11+
'--no-clean[Disable build directory cleaning.]' \
12+
'--validate[Enable config validation.]' \
13+
'--no-validate[Disable config validation.]' \
14+
'--hostonly[Enable hostonly mode, required for automatic kmod detection.]' \
15+
'--no-hostonly[Disable hostonly mode.]' \
16+
'--lspci[Use lspci to auto-detect kmods]' \
17+
'--no-lspci[Do not use lspci to auto-detect kmods]' \
18+
'--lsmod[Use lsmod to auto-detect kmods]' \
19+
'--no-lsmod[Do not use lsmod to auto-detect kmods]' \
20+
'--firmware[Include firmware files found with modinfo.]' \
21+
'--no-firmware[Exclude firmware files.]' \
22+
'--autodetect-root[Autodetect the root partition.]' \
23+
'--no-autodetect-root[Do not autodetect the root partition.]' \
24+
'--autodetect-root-luks[Autodetect LUKS volumes under the root partition.]' \
25+
'--no-autodetect-root-luks[Do not autodetect root LUKS volumes.]' \
26+
'--print-config[Print the final config dict.]' \
27+
'-d[Debug mode.]' \
28+
'--debug[Debug mode.]' \
29+
'--help[Show help information.]' \
30+
'-h[Show help information.]' \
31+
'-dd[Verbose debug mode.]' \
32+
'--verbose[Verbose debug mode.]' \
33+
'--log-file[Specify a log file.]' \
34+
'--log-level[Specify log level.]' \
35+
'-v[Show version information.]' \
36+
'--version[Show version information.]'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ugrd"
7-
version = "1.3.3"
7+
version = "1.3.4"
88
authors = [
99
{ name="Desultory", email="[email protected]" },
1010
]

0 commit comments

Comments
 (0)