Skip to content

Sorts how the command will print #361

@JuanitoFatas

Description

@JuanitoFatas

Hello great thor developers, I'm using thor to implement a CLI (Thank you for this gem!), and here is my CLI tool looks like:

Commands:
  lottery es              # lotteries in Spain. Including Daily 6/49, Sunday 5/54+1, and Spainsh 6...
  lottery eu [type]       # lotteries in Europe. Including Euro Millions, Lotto, and Thunderball.
  lottery help [COMMAND]  # Describe available commands or one specific command
  lottery tw [type]       # Lotteries in Taiwan. Including Lotto649, SuperLotto638, and Daily Cash

And I want the lottery help command either stays in the top, or in the bottom, is it possible to do in thor (sorts how the command will print)? I couldn't find documentation so ask here. I'm sorry if this is really simple question.

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions