Class: AvoCli::CLI::Commands::Version
- Inherits:
-
BaseCommand
- Object
- Dry::CLI::Command
- BaseCommand
- AvoCli::CLI::Commands::Version
- Defined in:
- lib/avo_cli/cli.rb
Instance Method Summary collapse
Methods inherited from BaseCommand
Instance Method Details
#call ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/avo_cli/cli.rb', line 25 def call(*) if AvoCli::PACKED puts AvoCli::VERSION else puts "#{AvoCli::VERSION}-development" end end |