Skip to content

The CLI can't rename a project, or change its description or default branch #271

Closed

Description

@fctl-sh

What is missing

fctl projects set changes a project's settings, but not its name, its description or its default branch, which the web app's Settings → Project changes. A script or an agent that renames a project, says what it is for or moves it to another default branch has to use the web app or call the HTTP API itself.

How it works now

  • PATCH /api/v1/projects/{id} takes name, description and default_branch besides settings (crates/fctl-control/src/api/projects.rs, update), and fctl_client::Api::update_project sends an UpdateProjectRequest with them.
  • fctl projects set (crates/fctl/src/cmd/projects.rs) only ever sends settings; fctl projects create takes --description and --slug once, at creation.

Found while closing the CLI's other gaps in #266.

What should happen

Compatibility

The CLI only: the endpoint takes these fields on the control planes CLIs talk to today. No release of the control plane, migration or protocol change.

Session: https://app.fctl.sh/s/ses_01M5R27N524NHTCHEEKF1DD280

Activity

  1. added
    enhancement
    cli
    on Oct 24, 2026
  2. fctl-sh commented on Oct 25, 2026

    @fctl-sh
    ContributorAuthor

    Done in #272, merged as feb559b. The docs are live: docs/cli.md on fctl.sh, and llms.txt on fctl.sh and app.fctl.sh. The CLI flags themselves ship with the next release, after v0.23.1. Until then, fctl projects set from a release doesn't have --name, --description or --default-branch.

    Found along the way: a default branch the repository doesn't have makes sessions start on an empty branch. That is now #273.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clienhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions