Skip to content

Add --team to remaining fly commands #5215

@taylorsilva

Description

@taylorsilva

Goal

Implement --team for remaining fly commands. fly/integration tests should be updated. Cases should be added to the error_handling file as well

Context("when --team is set", func() {

# use default team
fly -t ci <command> <command-options>
# use another team
fly -t ci <command> <command-options> --team other-team
  • execute
  • watch
  • pause-pipeline
  • checklist
  • rename-pipeline
  • abort-build
  • archive-pipeline
  • check-resource
  • check-resource-type
  • clear-task-cache
  • destroy-pipeline
  • expose-pipeline
  • get-pipeline
  • hide-pipeline
  • order-pipelines
  • resource-versions
  • resources
  • set-pipeline
  • unpause-pipeline
  • hijack
  • jobs
  • pause-job
  • trigger-job
  • unpause-job

Background

Follow-up story from #4196. You can look at trigger-job for guidance on how to implement the flag.
You can look at #7492 on how to implement the flag for the remaining commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions