Class: Tuya::Command::Repo
- Inherits:
-
Tuya::Command
- Object
- CLAide::Command
- Tuya::Command
- Tuya::Command::Repo
- Defined in:
- lib/tycli/command/repo.rb,
lib/tycli/command/repo/push.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Push
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Repo
constructor
def validate! # help! “name need” unless @name end.
- #run ⇒ Object
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
.options ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/tycli/command/repo.rb', line 21 def self. [ ['--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
#run ⇒ Object
38 39 40 |
# File 'lib/tycli/command/repo.rb', line 38 def run super end |