Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Make dpservice-cli more like kubectl #36

Merged
merged 6 commits into from
Jan 9, 2024
Merged

Make dpservice-cli more like kubectl #36

merged 6 commits into from
Jan 9, 2024

Conversation

vlorinc
Copy link
Contributor

@vlorinc vlorinc commented Dec 22, 2023

  • Create get aliases for following list functions (eg. get route now equals list routes):
listLoadbalancerPrefixes > (list lbprefixes = get lbprefix)
listLoadbalancerTargets > (list lbtargets = get lbtarget)
listPrefixes > (list prefixes = get prefix)
listRoutes > (list routes = get route)
  • Following commands now don’t require additional parameters/flags (without parameter, they will list all available objects of their type):
get firewallrule
get virtualip
get nat
get interface
list lbprefixes
list prefixes
  • List and get commands now support singular/plural aliases interchangeably (eg. get routes, list prefix)

Closes #26

@vlorinc vlorinc self-assigned this Dec 22, 2023
@vlorinc vlorinc requested a review from a team as a code owner December 22, 2023 12:33
@vlorinc vlorinc linked an issue Dec 22, 2023 that may be closed by this pull request
@github-actions github-actions bot added size/L enhancement New feature or request labels Dec 22, 2023
Copy link
Collaborator

@guvenc guvenc left a comment

Choose a reason for hiding this comment

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

Thanks. Looks good to me.

@guvenc guvenc merged commit 3dad096 into main Jan 9, 2024
6 checks passed
@guvenc guvenc deleted the enh/get_params branch January 9, 2024 15:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make dpservice-cli more like kubectl
2 participants