Sha256: 1a0cde890b7f0d07bf8cf849cc2c0bf395b672015f09955eafd31299ed9eb703

Contents?: true

Size: 336 Bytes

Versions: 6

Compression:

Stored size: 336 Bytes

Contents

require 'thor'

module SalesforceClientApp
  class CLI < Thor
    desc "init PROJECT_NAME", "Generate the application project files."
    def init(project_name)
      FileUtils.cp_r(File.expand_path('../../../example/', __FILE__), project_name)
      say("Files of \"#{project_name}\" project was generated.", :green)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
salesforce_client_app-0.0.6 lib/salesforce_client_app/cli.rb
salesforce_client_app-0.0.5 lib/salesforce_client_app/cli.rb
salesforce_client_app-0.0.4 lib/salesforce_client_app/cli.rb
salesforce_client_app-0.0.3 lib/salesforce_client_app/cli.rb
salesforce_client_app-0.0.2 lib/salesforce_client_app/cli.rb
salesforce_client_app-0.0.1 lib/salesforce_client_app/cli.rb