Full completions for openbsd signify

Part of #12243
This commit is contained in:
LunarEclipse
2025-12-30 21:54:14 +01:00
committed by Johannes Altmanninger
parent 0a23a78523
commit f5d3fd8a82
9 changed files with 65 additions and 76 deletions

View File

@@ -59866,9 +59866,6 @@ msgstr ""
msgid "Sign project artifact, the POM, and attached artifacts with GnuPG for deployment"
msgstr ""
msgid "Sign specified message"
msgstr ""
msgid "Sign the extension so it can be installed in Firefox"
msgstr ""
@@ -70609,12 +70606,6 @@ msgstr ""
msgid "Verify a signed NuGet package"
msgstr ""
msgid "Verify a signed checksum list"
msgstr ""
msgid "Verify a signed message and sig"
msgstr ""
msgid "Verify and commit firmware to a specific slot"
msgstr ""

View File

@@ -59864,9 +59864,6 @@ msgstr ""
msgid "Sign project artifact, the POM, and attached artifacts with GnuPG for deployment"
msgstr ""
msgid "Sign specified message"
msgstr ""
msgid "Sign the extension so it can be installed in Firefox"
msgstr ""
@@ -70607,12 +70604,6 @@ msgstr ""
msgid "Verify a signed NuGet package"
msgstr ""
msgid "Verify a signed checksum list"
msgstr ""
msgid "Verify a signed message and sig"
msgstr ""
msgid "Verify and commit firmware to a specific slot"
msgstr ""

View File

@@ -59995,9 +59995,6 @@ msgstr "Signe des échantillons"
msgid "Sign project artifact, the POM, and attached artifacts with GnuPG for deployment"
msgstr ""
msgid "Sign specified message"
msgstr ""
msgid "Sign the extension so it can be installed in Firefox"
msgstr ""
@@ -70738,12 +70735,6 @@ msgstr "Ne pas vérifier un encodage correct"
msgid "Verify a signed NuGet package"
msgstr ""
msgid "Verify a signed checksum list"
msgstr ""
msgid "Verify a signed message and sig"
msgstr ""
msgid "Verify and commit firmware to a specific slot"
msgstr ""

View File

@@ -59860,9 +59860,6 @@ msgstr ""
msgid "Sign project artifact, the POM, and attached artifacts with GnuPG for deployment"
msgstr ""
msgid "Sign specified message"
msgstr ""
msgid "Sign the extension so it can be installed in Firefox"
msgstr ""
@@ -70603,12 +70600,6 @@ msgstr ""
msgid "Verify a signed NuGet package"
msgstr ""
msgid "Verify a signed checksum list"
msgstr ""
msgid "Verify a signed message and sig"
msgstr ""
msgid "Verify and commit firmware to a specific slot"
msgstr ""

View File

@@ -59865,9 +59865,6 @@ msgstr ""
msgid "Sign project artifact, the POM, and attached artifacts with GnuPG for deployment"
msgstr ""
msgid "Sign specified message"
msgstr ""
msgid "Sign the extension so it can be installed in Firefox"
msgstr ""
@@ -70608,12 +70605,6 @@ msgstr ""
msgid "Verify a signed NuGet package"
msgstr ""
msgid "Verify a signed checksum list"
msgstr ""
msgid "Verify a signed message and sig"
msgstr ""
msgid "Verify and commit firmware to a specific slot"
msgstr ""

View File

@@ -59861,9 +59861,6 @@ msgstr ""
msgid "Sign project artifact, the POM, and attached artifacts with GnuPG for deployment"
msgstr ""
msgid "Sign specified message"
msgstr ""
msgid "Sign the extension so it can be installed in Firefox"
msgstr ""
@@ -70604,12 +70601,6 @@ msgstr ""
msgid "Verify a signed NuGet package"
msgstr ""
msgid "Verify a signed checksum list"
msgstr ""
msgid "Verify a signed message and sig"
msgstr ""
msgid "Verify and commit firmware to a specific slot"
msgstr ""

View File

@@ -59893,9 +59893,6 @@ msgstr ""
msgid "Sign project artifact, the POM, and attached artifacts with GnuPG for deployment"
msgstr ""
msgid "Sign specified message"
msgstr ""
msgid "Sign the extension so it can be installed in Firefox"
msgstr ""
@@ -70636,12 +70633,6 @@ msgstr ""
msgid "Verify a signed NuGet package"
msgstr ""
msgid "Verify a signed checksum list"
msgstr ""
msgid "Verify a signed message and sig"
msgstr ""
msgid "Verify and commit firmware to a specific slot"
msgstr ""

View File

@@ -59870,9 +59870,6 @@ msgstr ""
msgid "Sign project artifact, the POM, and attached artifacts with GnuPG for deployment"
msgstr ""
msgid "Sign specified message"
msgstr ""
msgid "Sign the extension so it can be installed in Firefox"
msgstr ""
@@ -70613,12 +70610,6 @@ msgstr ""
msgid "Verify a signed NuGet package"
msgstr ""
msgid "Verify a signed checksum list"
msgstr ""
msgid "Verify a signed message and sig"
msgstr ""
msgid "Verify and commit firmware to a specific slot"
msgstr ""

View File

@@ -1,4 +1,65 @@
complete -c signify -n __fish_seen_subcommand_from -s C -d 'Verify a signed checksum list'
complete -c signify -n __fish_seen_subcommand_from -s G -d 'Generate a new key pair'
complete -c signify -n __fish_seen_subcommand_from -s S -d 'Sign specified message'
complete -c signify -n __fish_seen_subcommand_from -s V -d 'Verify a signed message and sig'
# Tab completion for openbsd-signify
set -l subcommands -C -G -S -V
set -l subcommands_desc (echo -s \
-C\t"Verify a signed checksum list."\n \
-G\t"Generate a new key pair."\n \
-S\t"Sign the specified message file."\n \
-V\t"Verify the message and signature match."\n \
| string escape)
complete -c signify --no-files
complete -c signify \
--condition "not __fish_seen_subcommand_from $subcommands" \
--arguments "$subcommands_desc"
complete -c signify --force-files \
--condition '__fish_seen_subcommand_from -C'
complete -c signify --short-option c --no-files --require-parameter \
--description 'Specify the comment to be added during key generation' \
--condition '__fish_seen_subcommand_from -G'
complete -c signify --short-option e --no-files \
--description 'Use embedded signatures' \
--condition '__fish_seen_subcommand_from -S -V'
complete -c signify --short-option m --force-files --require-parameter \
--description 'Message file to sign or verify' \
--condition '__fish_seen_subcommand_from -S -V'
# The -n option has two context-dependent meanings
complete -c signify --short-option n --no-files \
--description 'When generating a key pair, do not ask for a passphrase' \
--condition '__fish_seen_argument -s G'
complete -c signify --short-option n --no-files \
--description 'When signing with -z, store a zero timestamp in the gzip header' \
--condition '__fish_seen_subcommand_from -S && __fish_seen_argument -s z'
complete -c signify --short-option p --force-files --require-parameter \
--description 'Public key produced by -G, and used by -V to check a signature' \
--condition '__fish_seen_subcommand_from -C -G -V'
complete -c signify --short-option q --no-files \
--description 'Quiet mode. Suppress informational output' \
--condition '__fish_seen_subcommand_from -C -V'
complete -c signify --short-option s --force-files --require-parameter \
--description 'Secret (private) key produced by -G, and used by -S to sign a message' \
--condition '__fish_seen_subcommand_from -G -S'
complete -c signify --short-option t --no-files --require-parameter \
--arguments '(ls /etc/signify 2>/dev/null | string match -e \'*-*.pub\' | string replace -r \'\\.pub$\' "" | string replace -r \'.*-\' "")' \
--condition '__fish_seen_subcommand_from -C -V'
complete -c signify --short-option t --no-files --require-parameter \
--description 'When inferring a key to verify with, only use keys with this keytype suffix' \
--condition '__fish_seen_subcommand_from -C -V'
complete -c signify --short-option x --force-files --require-parameter \
--description 'The signature file to create or verify. The default is message.sig' \
--condition '__fish_seen_subcommand_from -C -S -V'
complete -c signify --short-option z --no-files \
--description 'Sign and verify gzip (1) archives, embed signature in the header' \
--condition '__fish_seen_subcommand_from -S -V'