Aleksey Kuznetsov
|
38d14eafe2
|
cli: enrich the error about required template value with a hint
Several `jj` commands accept `--template <TEMPLATE>` argument. When the argument
is empty, `jj` will show the list of defined template aliases.
|
2024-03-06 08:12:40 +05:00 |
|
Yuya Nishihara
|
f76830ab12
|
cli: translate last-minute EPIPE internally in handle_command_result()
|
2024-03-03 01:11:46 +09:00 |
|
Yuya Nishihara
|
ed1d2fde27
|
cli: move handle_command_result() to command_error module, make it less public
I don't think extensions would have to use this function, so made it pub(crate).
|
2024-03-03 01:11:46 +09:00 |
|
Yuya Nishihara
|
97024e5be4
|
cli: extract CommandError and helper functions to new module
The cli_util module is big enough to slow down Emacs, so let's split it up.
This change is an easy one.
|
2024-03-03 01:11:46 +09:00 |
|