Added laravel-init
This commit is contained in:
17
pm-task
17
pm-task
@@ -125,9 +125,18 @@ function subShell() {
|
||||
|
||||
# Help messages (keep at bottom). ----------------------------------------------
|
||||
function subHelp() {
|
||||
echo "Usage 1: pm-task [build|up|down|logs|sh|start|stop|resatart] [<argument>...] --help"
|
||||
echo "Usage 2: pm-task <project-name> - Go to the project directory."
|
||||
echo "Usage 3: pm-task (no arguments) - Go to the workspace directory."
|
||||
echo "Usage: pm-task <command> [<argument>...]"
|
||||
echo "Commands:"
|
||||
echo " build, rebuild Build the Docker Compose project."
|
||||
echo " daily, today Stream daily logs for the current project."
|
||||
echo " down, stop Stop and remove containers."
|
||||
echo " logs, log Stream logs for the current project."
|
||||
echo " ps Watch container stats."
|
||||
echo " reload Reload the service in the current project."
|
||||
echo " restart Restart the Docker Compose project."
|
||||
echo " stats Display container resource usage statistics."
|
||||
echo " up, start Start the Docker Compose project."
|
||||
echo " bash|rsh|sh Access a shell in the running container."
|
||||
}
|
||||
|
||||
# Task
|
||||
@@ -187,5 +196,7 @@ if [ $1 ]; then
|
||||
|
||||
# Go to the workspace when no argument is provided.
|
||||
else
|
||||
echo "Usage: pm-task <command> [<argument>...]"
|
||||
echo "Run 'pm-task --help' for more information."
|
||||
subGotoWorkspace
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user