Skip to content

generate:module argument inconsistencies #3016

Open
@damienmckenna

Description

I'm going through the effort to finish porting all of Metatag's tags from D7 to D8 and using DrupalConsole to create the boilerplate files. However, I've noticed that some of the command line arguments has some inconsistencies:

  • There's no way of passing an argument to say 'no' to several options, specifically "Define module as feature", "Do you want to add a composer.json file to your module", "Do you want to generate a unit test class", "Do you want to generate a .module file" and "Do you confirm generation".
  • There's no difference in the output if the "--learning" argument is passed.
  • Most of the questions do not have a question mark at the end.
  • The "Do you confirm generation?" question should provide a summary of what is to be created.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions