Class: CLI
- Inherits:
-
Object
- Object
- CLI
- Defined in:
- lib/cli.rb
Class Method Summary collapse
Class Method Details
.dry_run? ⇒ Boolean
2 3 4 |
# File 'lib/cli.rb', line 2 def self.dry_run? ARGV.include?('-d') || ARGV.include?('--dry-run') end |
.install_launch_agent? ⇒ Boolean
6 7 8 |
# File 'lib/cli.rb', line 6 def self.install_launch_agent? ARGV.include?('--install-launch-agent') end |
.uninstall_launch_agent? ⇒ Boolean
10 11 12 |
# File 'lib/cli.rb', line 10 def self.uninstall_launch_agent? ARGV.include?('--uninstall-launch-agent') end |