Class: XcodeFastlane::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/xcode_fastlane/cli.rb

Overview

Command line interface for the thor tool.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



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

def self.source_root
  File.join(File.dirname(File.dirname(__FILE__)), "templates")
end

Instance Method Details

#initObject



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/xcode_fastlane/cli.rb', line 15

def init
  %w[
    .gitignore
    Gemfile
    fastlane/.env.beta
    fastlane/.env.ios
    fastlane/.env.mac
    fastlane/.env.release
    fastlane/Appfile
    fastlane/Fastfile
    fastlane/Snapfile
  ].each do |file|
    copy_file file
  end
end