2024-08-23 11:12:00 +02:00
|
|
|
import ../model/config_type
|
2024-08-23 11:30:36 +02:00
|
|
|
import execute
|
2024-08-23 11:12:00 +02:00
|
|
|
|
|
|
|
proc initRepo*(nc: NorgConfig, repo: Repository): int =
|
2024-08-23 13:04:27 +02:00
|
|
|
return runDiscard genCommand(cmd = "init", repo = repo.path, further_args = nc.args.further_args)
|
2024-08-23 11:12:00 +02:00
|
|
|
|