norgbackup/norg/utils/actions.nim

6 lines
130 B
Nim

import osproc
proc run_actions*(actions: seq[string]): int {.discardable.} =
for action in actions:
echo execCmd(action)