Skip to content
  • Petrik de Heus's avatar
    db947c29
    Add plugin to common command USAGE (#41457) · db947c29
    Petrik de Heus authored
    Because the PluginCommand is defined with `hide_command!`, running
    `bin/rails -h` hides the plugin command.
    
    As an alternative to removing the `hide_command!` this adds the plugin
    command to the USAGE. Unless it's an engine, because adding an engine to
    an engine doesn't make sense.
    
    Both the railtie and engine terms are used so a user can search for both.
    
    [Petrik de Heus + Rafael Mendonça França + Jonathan Hefner]
    db947c29
    Add plugin to common command USAGE (#41457)
    Petrik de Heus authored
    Because the PluginCommand is defined with `hide_command!`, running
    `bin/rails -h` hides the plugin command.
    
    As an alternative to removing the `hide_command!` this adds the plugin
    command to the USAGE. Unless it's an engine, because adding an engine to
    an engine doesn't make sense.
    
    Both the railtie and engine terms are used so a user can search for both.
    
    [Petrik de Heus + Rafael Mendonça França + Jonathan Hefner]
Loading