◐ Shell
clean mode source ↗

feat(cli): Add `feast projects delete` command by mailtoboggavarapu-coder · Pull Request #6302 · feast-dev/feast

devin-ai-integration[bot]

@ntkathole ntkathole changed the title feat(cli): add feast projects delete command feat(cli): Add feast projects delete command

Apr 22, 2026

devin-ai-integration[bot]

Exposes project deletion via the CLI. The new `feast projects delete <name>`
command calls `store._registry.delete_project()` which is already implemented
in all concrete registries. Adds an interactive confirmation prompt that can
be bypassed with --yes/-y for scripted workflows.

- Adds type guard (`assert store._registry is not None`) for mypy.
- Catches both FeastObjectNotFoundException and ProjectNotFoundException so
  the CLI exits cleanly (exit code 1) for either variant raised by concrete
  registry implementations.

Squashed history: this commit consolidates the previous unsigned commits on
the branch into a single DCO-signed commit, per DCO requirements.

Signed-off-by: Venkateswarlu Boggavarapu <mailtoboggavarapu@gmail.com>
…t_delete

store._registry is always None until accessed via the lazy-init registry
property. Using store._registry directly caused project_delete to always
crash with an AssertionError.

Fixes: Devin Review finding in feast-dev#6302
Signed-off-by: Venkateswarlu Boggavarapu <mailtoboggavarapu@gmail.com>