diff --git a/COMMAND-Conditional.md b/COMMAND-Conditional.md index 1526177..5e4e94f 100644 --- a/COMMAND-Conditional.md +++ b/COMMAND-Conditional.md @@ -1,3 +1,5 @@ +:arrow_left: Back to [[Commands Reference|Scripting-Guide#commands-reference]] + **TODO** clean this up, for now collect snippets There are the `if` and `branch` commands to implement conditional execution of other commands. The difference is that `if` takes argument expressions, while `branch` takes a command list and then does its own evaluation. @@ -11,4 +13,4 @@ method.insert = d.data_path, simple,\ "if=(d.is_multi_file),\ (cat, (d.directory), /),\ (cat, (d.directory), /, (d.name))" -``` +``` \ No newline at end of file