Moved disco-ball to server utils.
This commit is contained in:
15
server/bin/disco-ball
Executable file
15
server/bin/disco-ball
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
function init() {
|
||||
if [ "$1" == "" ]; then
|
||||
echo "Must enter a path to initialize" >&2
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p $1/templates
|
||||
mkdir -p $1/scripts
|
||||
mkdir -p $1/files
|
||||
touch $1/requires
|
||||
mkdir -p $1/parameters/$(basename $1)
|
||||
}
|
||||
|
||||
$1 $2
|
||||
Reference in New Issue
Block a user