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: add env display command #52

Merged
merged 5 commits into from
Jun 9, 2021
Merged

feat: add env display command #52

merged 5 commits into from
Jun 9, 2021

Conversation

RodEsp
Copy link
Contributor

@RodEsp RodEsp commented Jun 3, 2021

What does this PR do?

Adds the sf env display command as specified in this design doc.

What issues does this PR fix or reference?

@W-9103917@

@RodEsp RodEsp requested review from mdonnalley and amphro June 3, 2021 20:56
@RodEsp RodEsp self-assigned this Jun 3, 2021
@RodEsp RodEsp force-pushed the re/list-display branch from dabdc58 to 5d16fcf Compare June 7, 2021 16:22
}
}
},
"Optional<AnyJson>": {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should have AnyJson or any of these types in the return types

Copy link
Contributor Author

@RodEsp RodEsp Jun 8, 2021

Choose a reason for hiding this comment

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

I think this comes from the return type being SfOrgs which is SfOrg[] which has a union with SfEntry which equals JsonMap which extends Dictionary<AnyJson>.

env display or env list don't do anything with AnyJson explicitly.

src/commands/env/list.ts Outdated Show resolved Hide resolved
@mdonnalley mdonnalley merged commit 7b5388b into main Jun 9, 2021
@mdonnalley mdonnalley deleted the re/list-display branch June 9, 2021 13:38
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

Successfully merging this pull request may close these issues.

3 participants