Group lotus commands in group

What this is about:

Lotus commands public interface are not consistent. We have commands that belongs to verb action like:

lotus new

and

lotus generate action
lotus generate app

and at the same time we have commands grouped by sub-command like:

lotus db <do_something>

which is not intuitive for user experience.

What could be made better?:

I believe that by grouping them in group, we would offer a consistent interface for users that would improve the usability:

lotus <group> <command>

for example:

# generate new action with:
lotus action new <params>

# generate new db migration with:
lotus db new <params>

Thoughts?

1 Like

As I said on the GitHub issue, I think this is a great step towards the consistency of the lotus CLI commands.