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

Trigger other commands from the default one #29

Open
mitogh opened this issue May 25, 2016 · 0 comments
Open

Trigger other commands from the default one #29

mitogh opened this issue May 25, 2016 · 0 comments

Comments

@mitogh
Copy link
Member

mitogh commented May 25, 2016

Steps to reproduce and a minimal demo of the problem

Once we just type the name of the generator we should ask if the user wants to trigger a specific generator.

Current behavior

Available commands are printed

Expected/desired behavior

  • Ask for the command to be executed (using numbers, maybe?)
yo moxie-lean              

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |    Welcome to the Lean   |
   `---------´   |  generator. This is the  |
    ( _´U`_ )    |  list of some available  |
    /___A___\    |        generators.       |
     |  ~  |     '--------------------------'
   __'.___.'__   
 ´   `  |° ´ Y ` 

Try to run: yo moxie-lean:<subcommand> to use any of this generators. List of subcommands
1. php-lib
2. new-wp
3. new-wp-project
4. new-wp-plugin

Command to execute: [1-4]

Other information

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

No branches or pull requests

1 participant