Skip to main content

create

create projects

📁 Create a new project.

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​

--description <string>
description
--file <string>
specify a payload file [json|yaml], has precedence over other flags
--name <string>
name (required)

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 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 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​