Skip to content

Commit

Permalink
Merge pull request #764 from azzenabidi/gh-pages
Browse files Browse the repository at this point in the history
Added options' alias note
  • Loading branch information
rafaelfranca committed May 15, 2023
2 parents b9fceff + dacc4de commit 985c579
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/content/index.markdown
Expand Up @@ -166,6 +166,10 @@ files to keep your CLI description short and readable. You can then use
Thor makes it easy to specify options and flags as metadata about a Thor
command:

# Note

method_option is an alias for option.

<ruby>
class MyCLI < Thor
desc "hello NAME", "say hello to NAME"
Expand Down

0 comments on commit 985c579

Please sign in to comment.