norgbackup/norg/restic/init.nim

6 lines
189 B
Nim

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