Update 'README.md'

master^2
vilmibm 2020-06-08 22:14:50 +00:00
parent 24aaa81aea
commit 98e3297d2e
1 changed files with 13 additions and 12 deletions

View File

@ -3,9 +3,9 @@ commands.
The idea is to put town commands in one of three places:
/town/launcher/core
/town/launcher/contrib
/town/launcher/admin
- /town/launcher/core
- /town/launcher/contrib
- /town/launcher/admin
and pair each command with a corresponding .yml file.
@ -13,15 +13,16 @@ For example, the `aup` command is a simple wrapper around elinks that opens our
put the executable `aup` in /town/launcher/core and matched it with /town/launcher/aup.yml. The
purpose of the yaml file is to provide documentation for your executable, so `aup.yml` looks like:
shortDesc: View the town's Acceptable Use Policy
longDesc: |
This command will open our code of conduct, a type of document that evokes the Acceptable Use
Policies that governed servers like this in the past. It will open the elinks browser to a
page on the wiki.
examples: |
$ aup # open the aup
$ aup --rainbow # open the aup with rainbow colors
```yaml
shortDesc: View the town's Acceptable Use Policy
longDesc: |
This command will open our code of conduct, a type of document that evokes the Acceptable Use
Policies that governed servers like this in the past. It will open the elinks browser to a
page on the wiki.
examples: |
$ aup # open the aup
$ aup --rainbow # open the aup with rainbow colors
```
and using the launcher is like: