Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: add variables #55

Open
marcinkubica opened this issue Nov 3, 2022 · 2 comments
Open

feature request: add variables #55

marcinkubica opened this issue Nov 3, 2022 · 2 comments

Comments

@marcinkubica
Copy link

Hello!

Would it be please possible to add a variables option for set-pipeline (same as --var)

fly set-pipeline --help
Usage:
  fly [OPTIONS] set-pipeline [set-pipeline-OPTIONS]

Application Options:
  -t, --target=                     Concourse target name
  -v, --version                     Print the version of Fly and exit
      --verbose                     Print API requests and responses
      --print-table-headers         Print table headers even for redirected output

Help Options:
  -h, --help                        Show this help message

[set-pipeline command options]
      -n, --non-interactive         Skips interactions, uses default values
          --no-color                Disable color output
      -d, --dry-run                 Run a set pipeline step but in dry-run mode
          --check-creds             Validate credential variables against credential manager
      -p, --pipeline=               Pipeline to configure
      -c, --config=                 Pipeline configuration file, "-" stands for stdi
-->>  -v, --var=[NAME=STRING]       Specify a string value to set for a variable in the pipeline
      -y, --yaml-var=[NAME=YAML]    Specify a YAML value to set for a variable in the pipeline
      -l, --load-vars-from=         Variable flag that can be used for filling in template values in configuration from a YAML file
          --team=                   Name of the team to which the pipeline belongs, if different from the target default

Thanks!

@sigwinch28
Copy link

I contributed a PR with this recently. The maintainers will need to cut a new release with that commit in it, though ❤️

#50

@marcinkubica
Copy link
Author

I contributed a PR with this recently. The maintainers will need to cut a new release with that commit in it, though ❤️

#50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants