class Fastlane::Helper::TwineCommandHelper
Public Class Methods
generate_command(path_to_twine_file, destination_path, twine_args)
click to toggle source
# File lib/fastlane/plugin/twine/helper/twinehelper.rb, line 4 def self.generate_command(path_to_twine_file, destination_path, twine_args) cmd = [] cmd << ['twine generate-localization-file'] cmd << [path_to_twine_file] cmd << [destination_path] cmd << [twine_args] return cmd.join(' ') end
validate_command(path_to_twine_file, pedantic)
click to toggle source
# File lib/fastlane/plugin/twine/helper/twinehelper.rb, line 13 def self.validate_command(path_to_twine_file, pedantic) cmd = [] cmd << ['twine validate-twine-file'] cmd << [path_to_twine_file] cmd << [' --pedantic'] if pedantic return cmd.join(' ') end