feat: Add project delete command to CLI#6212
Open
crawfordxx wants to merge 2 commits intofeast-dev:masterfrom
Open
feat: Add project delete command to CLI#6212crawfordxx wants to merge 2 commits intofeast-dev:masterfrom
crawfordxx wants to merge 2 commits intofeast-dev:masterfrom
Conversation
Expose project deletion via `feast projects delete <name>` CLI command. The registry already supports deleting projects programmatically, but there was no CLI command for it. - Add `delete_project` method to `FeatureStore` - Add `feast projects delete` CLI command with confirmation prompt - Support `--yes/-y` flag to skip confirmation Fixes feast-dev#5095 Signed-off-by: majianhan <majianhan@kylinos.cn>
ntkathole
reviewed
Apr 10, 2026
| commit: Whether the change should be persisted immediately. | ||
|
|
||
| Raises: | ||
| ProjectObjectNotFoundException: The project could not be found. |
Member
There was a problem hiding this comment.
Suggested change
| ProjectObjectNotFoundException: The project could not be found. | |
| ProjectNotFoundException: The project could not be found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Exposes project deletion via the CLI. The registry already supports
delete_project()programmatically, but there was no corresponding CLI command. This adds:FeatureStore.delete_project(name)— thin wrapper aroundregistry.delete_project()feast projects delete <name>CLI command with a confirmation prompt--yes / -yflag to skip the confirmation (useful for scripting)Which issue(s) this PR fixes:
Fixes #5095
Checks
git commit -s)Testing Strategy
Misc
Usage: