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

feat(pipeline): add pipeline ls cmd #1529

Merged
merged 3 commits into from
Oct 26, 2020
Merged

Conversation

SoManyHs
Copy link
Contributor

@SoManyHs SoManyHs commented Oct 20, 2020

Fixes #1499

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@SoManyHs SoManyHs requested a review from a team as a code owner October 20, 2020 05:58
@SoManyHs SoManyHs requested a review from huanjani October 20, 2020 05:58
@SoManyHs SoManyHs added the area/pipeline Issues about pipelines to release applications. label Oct 20, 2020
@SoManyHs SoManyHs force-pushed the pipeline-list branch 3 times, most recently from bf738ea to 0628075 Compare October 20, 2020 23:24
Copy link
Contributor

@bvtujo bvtujo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for doing this! Looks great. I just had a question about our ongoing migration to separate packages for our Execute() logic and whether this fits into that paradigm.

// Execute writes the pipelines.
func (o *listPipelineOpts) Execute() error {
var out string
if o.shouldOutputJSON {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this fit into the paradigm we started with the job ls command? Could we move this logic to the list package? https://github.com/aws/copilot-cli/blob/mainline/internal/pkg/list/list.go It looks like this uses a lot of the same APIs and flags as the other list commands so it might go nicely.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was modeling this off of the env list command, so wasn't aware of ongoing restructuring.

@SoManyHs SoManyHs requested a review from efekarakus October 21, 2020 19:01
@efekarakus efekarakus added do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. and removed do-not-merge Pull requests that mergify shouldn't merge until the requester allows it. labels Oct 22, 2020
@mergify mergify bot merged commit 957d60c into aws:mainline Oct 26, 2020
thrau pushed a commit to localstack/copilot-cli-local that referenced this pull request Dec 9, 2022
<!-- Provide summary of changes -->

<!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" -->
Fixes aws#1499 

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/pipeline Issues about pipelines to release applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pipeline info to show commands
4 participants