Module: Participle::CLI
- Included in:
- Bot
- Defined in:
- lib/cli.rb
Overview
The command-line interface for Participle.
Instance Method Summary (collapse)
-
- (void) add_cli_command(*triggers) {|bot, buffer, args| ... }
Register a command for the command line interface.
Instance Method Details
- (void) add_cli_command(*triggers) {|bot, buffer, args| ... }
This method returns an undefined value.
Register a command for the command line interface.
17 18 19 20 21 |
# File 'lib/cli.rb', line 17 def add_cli_command *triggers, &blk triggers.each{|t| @__cli_commands[t] = blk } end |