FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: Add project delete command to CLI by crawfordxx · Pull Request #6212 · feast-dev/feast · GitHub

feat: Add project delete command to CLI - #6212

Closed
crawfordxx wants to merge 2 commits into
feast-dev:masterfrom
crawfordxx:feat-cli-project-delete
Closed

feat: Add project delete command to CLI#6212
crawfordxx wants to merge 2 commits into
feast-dev:masterfrom
crawfordxx:feat-cli-project-delete

Conversation

crawfordxx commented Apr 1, 2026
edited by devin-ai-integration Bot
Loading

Copy link
Copy Markdown

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 around registry.delete_project()
  • feast projects delete <name> CLI command with a confirmation prompt
  • --yes / -y flag to skip the confirmation (useful for scripting)

Which issue(s) this PR fixes:

Fixes #5095

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Manual tests
  • Unit tests

Misc

Usage:

# Interactive (prompts for confirmation)
feast projects delete my_project

# Non-interactive
feast projects delete my_project --yes

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 #5095

Signed-off-by: majianhan <majianhan@kylinos.cn>
crawfordxx requested a review from a team as a code owner April 1, 2026 15:08

This comment was marked as resolved.

shuchu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

commit: Whether the change should be persisted immediately.

Raises:
ProjectObjectNotFoundException: The project could not be found.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
ProjectObjectNotFoundException: The project could not be found.
ProjectNotFoundException: The project could not be found.

Copy link
Copy Markdown
Member

Fixed via #6318

ntkathole closed this May 6, 2026
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose project deletion to CLI

3 participants


Back | FazBrowse Home | New Git URL