2024-08-23 10:12:00 +01:00
|
|
|
import ../model/config_type
|
2024-08-23 10:30:36 +01:00
|
|
|
import execute
|
2024-08-23 10:12:00 +01:00
|
|
|
|
2024-08-23 10:30:36 +01:00
|
|
|
proc listSnapshots*(nc: NorgConfig, repo: Repository): int =
|
2024-08-23 12:04:27 +01:00
|
|
|
return run genCommand(cmd = "snapshots", repo = repo.path, further_args = nc.args.further_args)
|
2024-08-23 10:12:00 +01:00
|
|
|
|
|
|
|
|