-
Notifications
You must be signed in to change notification settings - Fork 273
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
refactor: renamed delete commands #3056
Conversation
6cec321
to
828c520
Compare
828c520
to
a1e39df
Compare
@@ -24,9 +24,8 @@ import { LogEntry } from "../logger/log-entry" | |||
import { uniqByName } from "../util/util" | |||
|
|||
export class DeleteCommand extends CommandGroup { | |||
name = "delete" | |||
alias = "del" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest keeping delete
as an alias.
alias = "env" | ||
help = "Deletes a running environment." | ||
name = "namespace" | ||
alias = "ns" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe throw a TODO-G2 comment in here. I had already made a plural aliases
field in the graph-v2
branch, and it'd be good to have environment
and env
in there as aliases as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I guess the renaming of the files will be done afterwards as well
@Orzelius thank you! Yes, we'll rename the files later. |
What this PR does / why we need it:
This PR only contains the user-facing parts for now. We can rename internals later. The internal includes the classes like
DeleteXxx[Command|Params|Result]
, some handlers, methods and functions in the action router, local variables, etc.Changing the internal now can cause extra conflicts with https://github.com/garden-io/garden/tree/graph-v2.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: