Class: Tuya::Command::Repo
- Inherits:
-
Tuya::Command
- Object
- CLAide::Command
- Tuya::Command
- Tuya::Command::Repo
- Defined in:
- lib/tuya/cli/odm/command/repo.rb,
lib/tuya/cli/odm/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
30 31 32 33 |
# File 'lib/tuya/cli/odm/command/repo.rb', line 30 def initialize(argv) super end |
Class Method Details
.options ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/tuya/cli/odm/command/repo.rb', line 18 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
35 36 37 |
# File 'lib/tuya/cli/odm/command/repo.rb', line 35 def run super end |