Class: Fuci::CliOptions
- Inherits:
-
Object
- Object
- Fuci::CliOptions
- Defined in:
- lib/fuci/cli_options.rb
Constant Summary collapse
- RUN_LAST_COMMAND_FLAGS =
['--last', '-l']
Class Method Summary collapse
Class Method Details
.run_last_command? ⇒ Boolean
5 6 7 |
# File 'lib/fuci/cli_options.rb', line 5 def self.run_last_command? (argv & RUN_LAST_COMMAND_FLAGS).any? end |