Merge pull request #334 from Brikaa/docs-logs
Add ./piston logs, note about SemVer
This commit is contained in:
commit
7c6148c8d1
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Naming Languages
|
## Naming Languages
|
||||||
|
|
||||||
Languages should be named after their interpreters, and the command line binaries you call.
|
Languages should be named after their interpreters, and the command line binaries you call. The language version should use semantic versioning.
|
||||||
For example, the full name of the standard python interpreter is `CPython`, however we would name it `python`, after the main binary which it provides.
|
For example, the full name of the standard python interpreter is `CPython`, however we would name it `python`, after the main binary which it provides.
|
||||||
In the example of NodeJS, we would call this `node`, after the main binary.
|
In the example of NodeJS, we would call this `node`, after the main binary.
|
||||||
|
|
||||||
|
|
2
piston
2
piston
|
@ -19,6 +19,7 @@ case $1 in
|
||||||
echo "Commands:"
|
echo "Commands:"
|
||||||
echo " select <environment> Select the environment"
|
echo " select <environment> Select the environment"
|
||||||
echo " docker_compose <args...> Interact directly with the docker-compose for the selected environment"
|
echo " docker_compose <args...> Interact directly with the docker-compose for the selected environment"
|
||||||
|
echo " logs Show docker-compose logs"
|
||||||
echo
|
echo
|
||||||
echo " start Starts piston"
|
echo " start Starts piston"
|
||||||
echo " stop Stops piston"
|
echo " stop Stops piston"
|
||||||
|
@ -49,6 +50,7 @@ case $1 in
|
||||||
|
|
||||||
select) echo "$2" > .piston_env ;;
|
select) echo "$2" > .piston_env ;;
|
||||||
docker_compose) shift; docker_compose "$@";;
|
docker_compose) shift; docker_compose "$@";;
|
||||||
|
logs) docker_compose logs -f ;;
|
||||||
|
|
||||||
restart) docker_compose restart ;;
|
restart) docker_compose restart ;;
|
||||||
start) docker_compose up -d ;;
|
start) docker_compose up -d ;;
|
||||||
|
|
Loading…
Reference in New Issue