Class: RailsAiBridge::Generators::HelpGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- RailsAiBridge::Generators::HelpGenerator
- Includes:
- CommandHelp
- Defined in:
- lib/generators/rails_ai_bridge/help/help_generator.rb
Overview
Prints the full rails-ai-bridge command reference to the terminal.
Useful for existing installs where the installer was already run and users want to rediscover available commands without re-running install.
Instance Method Summary collapse
Methods included from CommandHelp
Instance Method Details
#show_commands ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/generators/rails_ai_bridge/help/help_generator.rb', line 19 def show_commands say '' say '=' * 50, :cyan say ' rails-ai-bridge — command reference', :cyan say '=' * 50, :cyan say '' print_command_reference say '' say 'Tip: run `rails g rails_ai_bridge:install` to (re)generate .mcp.json and config files.', :green say '' end |