Module: Pvectl::Commands::FeatureCommand::ClassMethods

Defined in:
lib/pvectl/commands/feature_command.rb

Overview

Class methods added when the module is included.

Instance Method Summary collapse

Instance Method Details

#execute(args, options, global_options) ⇒ Integer

Executes the feature query command.

Parameters:

  • args (Array<String>)

    command-positional args ([id, feature])

  • options (Hash)

    command options

  • global_options (Hash)

    global CLI options

Returns:

  • (Integer)

    exit code



35
36
37
# File 'lib/pvectl/commands/feature_command.rb', line 35

def execute(args, options, global_options)
  new(args, options, global_options).execute
end