Class: FluidCLI::Commands::Theme

Inherits:
FluidCLI::Command show all
Defined in:
lib/fluid_cli/commands/theme.rb,
lib/fluid_cli/commands/theme/dev.rb,
lib/fluid_cli/commands/theme/help.rb,
lib/fluid_cli/commands/theme/init.rb,
lib/fluid_cli/commands/theme/pull.rb,
lib/fluid_cli/commands/theme/push.rb,
lib/fluid_cli/commands/theme/navigate.rb,
lib/fluid_cli/commands/theme/common/root_helper.rb,
lib/fluid_cli/commands/theme/common/company_helper.rb

Defined Under Namespace

Modules: Common Classes: Dev, Help, Init, Navigate, Pull, Push

Instance Attribute Summary

Attributes inherited from FluidCLI::Command

#ctx, #options

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from FluidCLI::Command

call, call_help, #initialize, options, subcommand, subcommand_registry

Constructor Details

This class inherits a constructor from FluidCLI::Command

Class Method Details

.help(*args) ⇒ Object



17
18
19
20
# File 'lib/fluid_cli/commands/theme.rb', line 17

def help(*args)
  subcommands = subcommand_registry.command_names.join(" | ")
  puts "Manage themes.\n\n{{bold:Subcommands:}} {{command:#{subcommands}}}"
end

Instance Method Details

#call(*args) ⇒ Object



12
13
14
# File 'lib/fluid_cli/commands/theme.rb', line 12

def call(*args)
  self.class.help(*args)
end