Class: Rixie::CLI::Commands::Base
- Inherits:
-
Object
- Object
- Rixie::CLI::Commands::Base
show all
- Defined in:
- lib/rixie/cli/commands/base.rb
Instance Method Summary
collapse
Constructor Details
#initialize(renderer:) ⇒ Base
Returns a new instance of Base.
7
8
9
|
# File 'lib/rixie/cli/commands/base.rb', line 7
def initialize(renderer:)
@renderer = renderer
end
|
Instance Method Details
#call(arg, cli:) ⇒ Object
19
20
21
|
# File 'lib/rixie/cli/commands/base.rb', line 19
def call(arg, cli:)
raise NotImplementedError
end
|
#complete(input) ⇒ Object
23
24
25
|
# File 'lib/rixie/cli/commands/base.rb', line 23
def complete(input)
[]
end
|
#description ⇒ Object
15
16
17
|
# File 'lib/rixie/cli/commands/base.rb', line 15
def description
raise NotImplementedError
end
|
#name ⇒ Object
11
12
13
|
# File 'lib/rixie/cli/commands/base.rb', line 11
def name
raise NotImplementedError
end
|