Sha256: 65b89e1d288c4643a6cd557a525c0e3602de94580d1e81d6bcef8212eb76e710

Contents?: true

Size: 1.15 KB

Versions: 84

Compression:

Stored size: 1.15 KB

Contents

## Project Examples

Conventionally name the helper custom.

    $ terraspace new helper custom --type project
          create  config/helpers
          create  config/helpers/custom_helper.rb

## Stack Examples

Conventionally name the helper to be the same as the stack name.

    $ terraspace new helper demo --type stack
          create  app/stacks/demo/config/helpers
          create  app/stacks/demo/config/helpers/demo_helper.rb
    $

Explictly name helper method. IE: custom here.

    $ terraspace new helper demo --type stack --name custom
          create  app/stacks/demo/config/helpers
          create  app/stacks/demo/config/helpers/custom_helper.rb
    $

## Module Examples

Conventionally name the helper to be the same as the module name.

    $ terraspace new helper example --type module
          create  app/module/example/config/helpers
          create  app/module/example/config/helpers/example_helper.rb
    $

Explictly name helper method. IE: custom here.

    $ terraspace new helper example --type module --name custom
          create  app/module/example/config/helpers
          create  app/module/example/config/helpers/custom_helper.rb
    $

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
terraspace-0.5.3 lib/terraspace/cli/help/new/helper.md
terraspace-0.5.2 lib/terraspace/cli/help/new/helper.md
terraspace-0.5.1 lib/terraspace/cli/help/new/helper.md
terraspace-0.5.0 lib/terraspace/cli/help/new/helper.md