Skip to content

Refactor helper to cover recink components and available options  #154

@avozicov

Description

@avozicov

Let's improve our recink helper functionality by refactoring the next helper commands and output

  • The following output is expected for recink run terraform -help command
recink [version] - Rethink CI for JavaScript applications

   USAGE

     recink run terraform [path]

   ARGUMENTS

     [path]      Path to configuration file          optional      default: "./"

   OPTIONS

     --exclude-modules [modules]      List of modules to exclude                          optional      default: []
     --include-modules [modules]      List of modules to run                              optional      default: []
     --custom-config                  Custom configuration                                optional      default: []
     --tf-version                     Terraform version                                   optional      default: false
     --tf-workspace                   Terraform workspace                                 optional      default: false
     --tf-vars                        Terraform variables as environmental variables      optional      default: []
     --tf-varfiles                    Terraform variables as tfvars files                 optional      default: []
    
   GLOBAL OPTIONS

     -h, --help         Display help
     -V, --version      Display version
     --no-color         Disable colors
     --quiet            Quiet mode - only displays warn and error messages
     -v, --verbose      Verbose mode - will also output debug messages

Actual Result:

  • Case when user runs recink run terraform -help command the basic recink helper view is displayed in the cli
    Please refer to attachment for more details:
    Screen Shot 2018-03-05 at 15.54.54.png

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions