csph projects create
create projects
📁 Create a new project.
The project comes with a production environment, so you can deploy to it
right away. Pass --no-environment to create the project alone and add
environments with csph environments create.
This command supports reading input from a file.
Files can be supplied via the --file flag or piped into the command.
Example of file structure
{
"account_id": "00000000-0000-0000-0000-000000000000",
"description": "My Project Description",
"name": "My Project"
}
Usage
csph projects create [flags]
Aliases
projects create, projects new, project create, project new
Options
Command Specific
Inherited
Examples
# start an interactive session to create a project
> csph project create
# create a project with all fields — names use letters and numbers, with
# hyphens or underscores in the middle (no spaces)
> csph project create \
--name rocket-project \
--description 'New project for Rocket launching software'
# create a project without an environment
> csph project create --name rocket-project --no-environment
# create a project from a file
> csph project create --file /path/to/project.yaml
# create a project via stdin
> cat /path/to/project.json | csph project create
See also
- csph projects — manage projects
- csph projects get — get project
- csph projects list — list projects
- csph projects update — update project
- csph projects delete — delete projects
- csph projects use — set your default project