Class: JenkinsApi::CLI::Base

Inherits:
Thor
  • Object
show all
Defined in:
lib/jenkins_api_client/cli/base.rb

Overview

This is the base class for the command line interface which adds other classes as subcommands to the CLI.

Instance Method Summary collapse

Instance Method Details

#versionObject

CLI command that returns the version of Jenkins API Client



54
55
56
# File 'lib/jenkins_api_client/cli/base.rb', line 54

def version
  puts JenkinsApi::Client::VERSION
end