Class: Fp::Commands::Version

Inherits:
Base
  • Object
show all
Defined in:
lib/fp/commands/version.rb

Overview

fp version

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Fp::Commands::Base

Instance Method Details

#run(_args) ⇒ Object



7
8
9
10
11
# File 'lib/fp/commands/version.rb', line 7

def run(_args)
  output.success({ version: Fp::VERSION }) do
    puts "fp #{Fp::VERSION}"
  end
end