Remove unavailable project commands from forge CLI #88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story: So that I can trust the CLI help surface,
forgeshould only advertise project commands once the server API can actually support them.Part of the "Forge / workspace CLI tooling" arc.
Problem
forge helpcurrently lists a top-levelprojectresource, butforge project <command>only reports that project commands are unavailable because this Forgejo API does not expose repository project endpoints.That is accurate as a diagnostic, but misleading as CLI surface: users see
projectin the resources list and expect at least read operations to work.Desired Behavior
Remove the placeholder
projectresource from normal CLI help and dispatch until project API support exists. Keep the limitation documented indocs/forge.mdif useful, but do not advertiseforge projectas a supported resource.Follow-Up
If project support becomes important, track the server/API work separately and reintroduce
forge projectonce the API exists.