mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-05 22:08:27 +00:00
Add -json flag to snapshot show|list
Signed-off-by: Joshua Colson <joshua.colson@gmail.com>
This commit is contained in:
committed by
Lorenzo Bolla
parent
f9c0d99790
commit
0f1575d5af
@@ -40,7 +40,7 @@ func aptlyRepoShow(cmd *commander.Command, args []string) error {
|
||||
var list *deb.PackageList
|
||||
list, err = deb.NewPackageListFromRefList(repo.RefList(), context.CollectionFactory().PackageCollection(), context.Progress())
|
||||
if err == nil {
|
||||
packageList = list.Strings() // similar output to /api/{repo}/packages
|
||||
packageList = list.FullNames()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user