norgbackup/norg/utils/actions.nim

7 lines
130 B
Nim
Raw Normal View History

2024-08-18 19:45:37 +02:00
import osproc
proc run_actions*(actions: seq[string]): int {.discardable.} =
for action in actions:
echo execCmd(action)