Sha256: 2336769bf7a2a4f3cbf73d2949d1fa0d77afdb2f848c5c359f43a9675bbb7da4
Contents?: true
Size: 1.65 KB
Versions: 8
Compression:
Stored size: 1.65 KB
Contents
class Terraspace::CLI class New < Terraspace::Command long_desc Help.text("new/git_hook") GitHook.cli_options.each { |args| option(*args) } register(GitHook, "git_hook", "git_hook", "Generates new git hook.") long_desc Help.text("new/shim") Shim.cli_options.each { |args| option(*args) } register(Shim, "shim", "shim", "Generates terraspace shim.") long_desc Help.text("new/module") Module.base_options.each { |args| option(*args) } Module.component_options.each { |args| option(*args) } register(Module, "module", "module NAME", "Generates new module.") long_desc Help.text("new/stack") Stack.base_options.each { |args| option(*args) } Stack.component_options.each { |args| option(*args) } register(Stack, "stack", "stack NAME", "Generates new stack.") long_desc Help.text("new/project") Project.base_options.each { |args| option(*args) } Project.project_options.each { |args| option(*args) } register(Project, "project", "project NAME", "Generates new project.") long_desc Help.text("new/project_test") register(Test::Project, "project_test", "project_test NAME", "Generates new project test.") long_desc Help.text("new/module_test") register(Test::Module, "module_test", "module_test NAME", "Generates new module test.") long_desc Help.text("new/bootstrap_test") Test::Bootstrap.options.each { |args| option(*args) } register(Test::Bootstrap, "bootstrap_test", "bootstrap_test", "Generates bootstrap test setup.") long_desc Help.text("new/plugin") Plugin.options.each { |args| option(*args) } register(Plugin, "plugin", "plugin", "Generates plugin.") end end
Version data entries
8 entries across 8 versions & 1 rubygems