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
|
|
|
|
2024-08-23 11:30:36 +02:00
|
|
|
proc listSnapshots*(nc: NorgConfig, repo: Repository): int =
|
|
|
|
return run genCommand(cmd = "snapshots", repo = repo.path, others = nc.args.others)
|
2024-08-23 11:12:00 +02:00
|
|
|
|
|
|
|
|