norgbackup/norg/restic/init.nim

6 lines
201 B
Nim

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