norgbackup/norg/restic/list.nim

7 lines
193 B
Nim

import ../model/config_type
import execute
proc listSnapshots*(nc: NorgConfig, repo: Repository): int =
return run genCommand(cmd = "snapshots", repo = repo.path, others = nc.args.others)