Class: Node::Commands::Populate
- Inherits:
-
ShopifyCli::Command
- Object
- CLI::Kit::BaseCommand
- ShopifyCli::Command
- Node::Commands::Populate
- Defined in:
- lib/project_types/node/commands/populate.rb,
lib/project_types/node/commands/populate/product.rb,
lib/project_types/node/commands/populate/customer.rb,
lib/project_types/node/commands/populate/draft_order.rb
Defined Under Namespace
Classes: Customer, DraftOrder, Product
Instance Attribute Summary
Attributes inherited from ShopifyCli::Command
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from ShopifyCli::Command
call, call_help, #initialize, options, prerequisite_task, run_prerequisites, subcommand, subcommand_registry
Methods included from ShopifyCli::Feature::Set
Constructor Details
This class inherits a constructor from ShopifyCli::Command
Class Method Details
.extended_help ⇒ Object
18 19 20 |
# File 'lib/project_types/node/commands/populate.rb', line 18 def self.extended_help ShopifyCli::Context.('node.populate.extended_help', ShopifyCli::TOOL_NAME) end |
.help ⇒ Object
14 15 16 |
# File 'lib/project_types/node/commands/populate.rb', line 14 def self.help ShopifyCli::Context.('node.populate.help', ShopifyCli::TOOL_NAME) end |
Instance Method Details
#call(_args, _name) ⇒ Object
10 11 12 |
# File 'lib/project_types/node/commands/populate.rb', line 10 def call(_args, _name) @ctx.puts(self.class.help) end |