Class: Tuya::Command::Repo

Inherits:
Tuya::Command show all
Defined in:
lib/tycli/command/repo.rb,
lib/tycli/command/repo/push.rb

Direct Known Subclasses

Push

Defined Under Namespace

Classes: Push

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Repo

def validate! # help! “name need” unless @name end



33
34
35
36
# File 'lib/tycli/command/repo.rb', line 33

def initialize(argv)
	super

end

Class Method Details

.optionsObject



21
22
23
24
25
26
27
# File 'lib/tycli/command/repo.rb', line 21

def self.options
	[
		['--version=your-version', 'version if you want do a special version'],
		['--podspec', 'version if you want do a special version'],
		['--commit', 'use --no-commit']
	].concat(super)
end

Instance Method Details

#runObject



38
39
40
# File 'lib/tycli/command/repo.rb', line 38

def run
	super
end