jj/cli
Yuya Nishihara 026a72dfe7 templater: add surround(prefix, suffix, content) function
I'll probably add infix logical operators later, but the surround() function
is still useful because we don't have to repeat the condition:

    if(x || y, "<" ++ separate(" ", x, y) ++ ">")
    surround("<", ">", separate(" ", x, y))

It can't be used if we want to add placeholder text, though:

    if(x || y, "<" ++ separate(" ", x, y) ++ ">", "(none)")

Closes #2924
2024-02-06 23:39:34 +09:00
..
examples backend: pass Index and keep_newer timestamp parameters to gc() 2024-01-27 10:18:11 +09:00
src templater: add surround(prefix, suffix, content) function 2024-02-06 23:39:34 +09:00
testing fake_diff_editor: Allow specifying extra arguments to be ignored 2023-08-21 20:19:15 -07:00
tests cli: do initial import of Git refs without touching HEAD 2024-02-06 17:19:37 +09:00
build.rs build: update rerun-if conditions to watch .git/HEAD in colocated repo 2023-08-06 12:16:11 +09:00
Cargo.toml cli: new jj util markdown-help outputs jj help for all commands 2024-01-30 14:58:32 -08:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00