Last active
April 9, 2016 18:43
-
-
Save bvaudour/699e393ccea95c358bb17c9655685df6 to your computer and use it in GitHub Desktop.
All informations of all packages on KCP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
get_info() { | |
for package in $(kcp -lN); do | |
kcp -V $package | |
done | |
} | |
if [[ $# -eq 0 ]]; then | |
get_info | |
else | |
get_info >> $1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment