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-2.2.17 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.16 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.15 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.14 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.13 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.12 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.11 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.10 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.9 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.8 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.7 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.6 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.5 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.4 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.3 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.2 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.1 lib/terraspace/cli/help/new/helper.md
terraspace-2.2.0 lib/terraspace/cli/help/new/helper.md
terraspace-2.1.7 lib/terraspace/cli/help/new/helper.md
terraspace-2.1.6 lib/terraspace/cli/help/new/helper.md