bin(toolkit-mgr) Nuking toolkit-mgr from my dotfiles bin.
Will go to seperate repo soon. Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
parent
48cc4c2a31
commit
7d524bbd4f
|
@ -1,24 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
help() {
|
||||
echo "Toolkit Manager - Manage toolkit scripts - v0.1.0"
|
||||
echo
|
||||
echo "Usage: $0 COMMAND ARGS"
|
||||
echo "Available commands:"
|
||||
echo "add [URL|MODULENAME] Install new script from the Internet"
|
||||
echo " and add to PATH."
|
||||
echo "run [TOOLKIT] [ARGS] Run the script without using PATH"
|
||||
echo "list List installed scripts"
|
||||
echo "uninstall [TOOLKIT] Remove from your local ~/.toolkits/bin"
|
||||
}
|
||||
|
||||
commandNotYetImplemented() {
|
||||
echo "error: Unknown command. Try 'toolkit-mgr help' to learn more."
|
||||
exit
|
||||
}
|
||||
|
||||
if [[ $@ == "" || $@ == "help" ]]; then
|
||||
help
|
||||
else
|
||||
commandNotYetImplemented
|
||||
fi
|
Loading…
Reference in New Issue