Skip to content

Commit

Permalink
treehouses help message english (fixes #2049) (#2053)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <dogi@users.noreply.github.com>
  • Loading branch information
rjpadilla and dogi authored Mar 15, 2021
1 parent 332908a commit 27e76d0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
21 changes: 16 additions & 5 deletions modules/message.sh
Original file line number Diff line number Diff line change
Expand Up @@ -504,11 +504,22 @@ function message {

function message_help {
echo
echo "Usage: $BASENAME message <chats> <apitoken>|<oauth key> <redirect URL> | <authorize> <code> <oauth secret>| send <group> <message> | show|read|mark <group>"
echo "Usage: $BASENAME message <chats>"
echo " <apitoken>"
echo " <oauth key> <redirect URL>"
echo " <authorize> <code> <oauth secret>"
echo " <send> <group> <message>"
echo " <show|read|mark> <group>"
echo
echo "You can get your token from https://developer.gitter.im/docs/welcome by signing in, it should show up immediately or by navigating to https://developer.gitter.im/apps"
echo "You can get your token from:"
echo "https://developer.gitter.im/docs/welcome"
echo "by signing in."
echo
echo "You must set your api key at least once every session before sending a message"
echo "It should show up immediately or by navigating to:"
echo "https://developer.gitter.im/apps"
echo
echo "You must set your api key at least once every session"
echo "before sending a message"
echo
echo "Send message to a chat service"
echo
Expand Down Expand Up @@ -541,8 +552,8 @@ function message_help {
echo " $BASENAME message slack channels"
echo " check for channels"
echo
echo " $BASENAME message slack send \"channel_name or channel ID\" \"Hi, you are very awesome\""
echo " Sends a message to a slack channel using channel name, eg, channel: #channel_name"
echo " $BASENAME message slack send \"channel name or ID\" \"Hello!\""
echo " Sends a message to a slack channel using channel ID/name"
echo
echo " $BASENAME message slack show \"channel ID\""
echo " Shows messages of a slack channel using channel ID"
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.22",
"version": "1.25.23",
"remote": "4000",
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
"main": "cli.sh",
Expand Down

0 comments on commit 27e76d0

Please sign in to comment.