Skip to main content

csph projects update

update project

📁 Update a project.

Pull request previews are off for a new project. Turn them on for a project with csph project update <id> --pr-previews on, or for one service with csph service update <id> --pr-previews on; --pr-previews inherit makes a service follow its project again.

Usage​

csph projects update [flags]

Aliases​

projects update, projects edit, project update, project edit

Options​

Command Specific​

--description <string>
description
--name <string>
name
--pr-previews <on|off>
Turn pull request previews on or off for the project's services. Off deletes the project's open previews.

-y, --yes

skip the confirmation prompt

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

# start an interactive prompt to update a project
> csph project update

# start an interactive prompt to update a project with the given ID
> csph project update <project-id>

# update a project non-interactively
> csph project update <project-id> \
--name my-project \
--description "My project description"

# turn pull request previews off (deletes the project's open previews)
> csph project update <project-id> --pr-previews off

See also​