1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-12-01 00:02:15 +01:00
aerc/commands/patch
Robin Jarry d7cdaf1977 patch: use subcommand descriptions in completion items
go-opt v2.2.0 now supports providing individual descriptions for
completion items by appending a newline character to the completion item
followed by its description.

Do that for patch sub commands. Here's what it looks like:

       apply    (Apply the selected message(s) to the current project.)
       cd       (Change aerc's working directory to the current project.)
       drop     (Drop a patch from the repository.)
       find     (Search for applied patches.)
       init     (Create a new project.)
       list     (List the current project with the tracked patch sets.)
       ls       (List the current project with the tracked patch sets.)
       rebase   (Rebase the patch data.)
       switch   (Switch context to the specified project.)
       term     (Open a shell or run a command in the current project's directory.)
       unlink   (Delete all patch tracking data for the specified project.)
:patch

Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Antonin Godard <antonin@godard.cc>
2025-11-17 09:51:00 +01:00
..
apply.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00
apply_test.go patch/apply: add apply sub-cmd 2023-12-30 15:42:09 +01:00
cd.go completion: add commands descriptions 2024-10-23 10:22:51 +02:00
drop.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00
find.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00
init.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00
list.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00
patch.go patch: use subcommand descriptions in completion items 2025-11-17 09:51:00 +01:00
rebase.go config: allow specifying the temporary directory 2025-10-30 21:17:44 +01:00
rebase_test.go patch/rebase: add rebase sub-cmd 2023-12-30 15:42:09 +01:00
switch.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00
term.go completion: add commands descriptions 2024-10-23 10:22:51 +02:00
unlink.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00