Top Level Namespace

Defined Under Namespace

Modules: SfCli

Instance Method Summary collapse

Methods included from SfCli::Console::Commands

#apex, #available_models, #connection, #generate, #help, #orgs, #query, #target_org, #use

Instance Method Details

#sfObject

The global method that represents sf command.

With method chaining, you can use similar syntax as original command.

Examples:

sf.org.display                           # returns the org information object
sf.data.query "SELECT Name FROM Account" # [{"Name"=>"Aethna Home Products"}]


10
11
12
# File 'lib/sf_cli.rb', line 10

def sf
  SfCli::Sf::Main.instance
end