Skip to content

Commit

Permalink
treehouses message formatting (fixes #2050) (#2051)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
rjpadilla and dogi authored Mar 15, 2021
1 parent 27e76d0 commit 7efa362
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,13 @@ magazines downloads specific magazine issue as a
[url] shows the homepage URL of magazine
resolution <cea|dmt [modes]> sets the screen resolution depending on the attached display device
system [cpu|ram|disk|volt|temperature] display real system informations
message gitter <apitoken|authorize> sets api/channel info in config file and sends/recieves messages in gitter
<send|show|read|mark>
<channels>
slack <apitoken|channels> sets api/channel info in config file and sends/recieves messages in slack
<send|show|read|mark>
discord <apitoken|authorize> sets api/channel info in config file
message sends message to chat service
<gitter> <apitoken|authorize> sets api/channel info in config file
<send|show|read|mark> sends/recieves messages in gitter
<channels>
<slack> <apitoken|channels> sets api/channel info in config file
<send|show|read|mark> sends/recieves messages in slack
<discord> <apitoken|authorize> sets api/channel info in config file
shutdown [now|in|force] shutdown the system
```

Expand Down
13 changes: 7 additions & 6 deletions modules/help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,13 @@ magazines downloads specific magazine issue as a
[url] shows the homepage URL of magazine
resolution <cea|dmt [modes]> sets the screen resolution depending on the attached display device
system [cpu|ram|disk|volt|temperature] display real system informations
message gitter <apitoken|authorize> sets api/channel info in config file and sends/recieves messages in gitter
<send|show|read|mark>
<channels>
slack <apitoken|channels> sets api/channel info in config file and sends/recieves messages in slack
<send|show|read|mark>
discord <apitoken|authorize>.......sets api/channel info in config file
message sends message to chat service
<gitter> <apitoken|authorize> sets api/channel info in config file
<send|show|read|mark> sends/recieves messages in gitter
<channels>
<slack> <apitoken|channels> sets api/channel info in config file
<send|show|read|mark> sends/recieves messages in slack
<discord> <apitoken|authorize> sets api/channel info in config file
shutdown [now|in|force] shutdown the system
EOF
echo "$helpdefault"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@treehouses/cli",
"version": "1.25.23",
"version": "1.25.24",
"remote": "4000",
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
"main": "cli.sh",
Expand Down

0 comments on commit 7efa362

Please sign in to comment.