Add list param
This commit is contained in:
parent
eadb91f4f4
commit
18f1f36488
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,7 @@ if [[ ! -n $1 ]]; then
|
|||
init Initialize Arkanium on a new system
|
||||
teardown Remove all Arkanium-deploy related files and folders
|
||||
get-available List available packages in repo
|
||||
list List all currently deployed images
|
||||
END
|
||||
exit 0
|
||||
fi
|
||||
|
@ -188,6 +189,10 @@ get_available () {
|
|||
|
||||
}
|
||||
|
||||
list_deployed () {
|
||||
cat $arkanium_dir/tracker
|
||||
}
|
||||
|
||||
# Deploy a new or update an existing deployment
|
||||
deploy () {
|
||||
|
||||
|
@ -387,3 +392,4 @@ deploy () {
|
|||
[[ $1 == 'update' ]] && check_for_updates
|
||||
[[ $1 == 'get-available' ]] && get_available
|
||||
[[ $1 == 'deploy' ]] && deploy $1 $2 $3
|
||||
[[ $1 == 'list' ]] && list_deployed
|
||||
|
|
Loading…
Add table
Reference in a new issue