Thomas Vachuska

Adding a new convenience alias and fixing auto-complete for onos-create-app.

Change-Id: Iad76a2293b5b87176033184d23634d83f21370eb
......@@ -140,11 +140,12 @@ function cells {
done
}
# Miscellaneous
# Find a process by regex
function spy {
ps -ef | egrep "$@" | grep -v egrep
}
# Kill a process by regex
function nuke {
spy "$@" | cut -c7-11 | xargs kill
}
......@@ -186,5 +187,9 @@ function vicell {
($apply) && cell ${cdf}
}
# autocomplete for certain utilities
# Autocomplete for certain utilities
. ${ONOS_ROOT}/tools/test/bin/ogroup-opts
# Load AT&T MPLS topo GEO data
alias atttopo='onos-topo-cfg $OCI $ONOS_ROOT/tools/test/topos/attmpls.json'
\ No newline at end of file
......
......@@ -51,7 +51,7 @@ complete -F _cell-opts cell vicell
function _ocapp-opts () {
local cur=${COMP_WORDS[COMP_CWORD]}
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $( compgen -W "bundle ui cli" -- $cur ) )
COMPREPLY=( $( compgen -W "app bundle ui uitable uitopo cli" -- $cur ) )
fi
}
......