Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treehouses message gitter configure apitoken (fixes #2122) #2123

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rjpadilla
Copy link
Member

No description provided.

Comment on lines 239 to 243
echo " $BASENAME message gitter apitoken"
echo " Check for API token for gitter"
echo
echo " $BASENAME message gitter authorize \"1234567890\""
echo " Sets and saves API token"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of this:
speak about success
and show api token

else
echo "You do not have a gitter apitoken setup."
echo "For instructions to configure your gitter apitoken"
echo "Please run: $BASENAME message gitter apitoken"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error message could also run $BASENAME message gitter apitoken at the end since that's the only decision path and lowers the drop-off rate.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will test that out, thanks.

get_apitoken gitter
echo
echo "You have successfully configured your Gitter apitoken."
echo "Now you must provide a subcommand for $BASENAME message gitter listed below:"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could also summarize the subcommands in one line:

e.g.

"Now you must provide a subcommand for $BASENAME message gitter [channels|send|show|read|mark] listed below:"

@rjpadilla rjpadilla requested review from JLKwong and dogi March 29, 2021 18:36
Copy link
Member

@JLKwong JLKwong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High quality content™.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants