Projects
Command to interact with projects
The projects command allows you to easily manage projects in your workspace.
stashbase projects <COMMAND> [OPTIONS]List
Use this command to list all available projects you have access to in the workspace.
stashbase projects list [OPTIONS]Options
Prop
Type
Examples
stashbase projects list
# sort by environment count
stashbase projects list --sort-by environmentCount
# sort in descending order
stashbase projects list --sort desc
# search by name
stashbase projects list --search apiGet
Use this command to get data about a specific project.
stashbase projects get <NAME_OR_ID> [OPTIONS]Options
Prop
Type
Examples
stashbase projects get public-apiCreate
Use this command to create a new project.
stashbase projects create <NAME> [OPTIONS]Options
Prop
Type
Examples
stashbase projects create public-api \
--description "This is a public api project"Update
Use this command to update existing project.
stashbase projects update <NAME_OR_ID> [OPTIONS]Options
Prop
Type
Examples
stashbase projects update public-api \
--name public-api-v2
stashbase projects update public-api \
--description "This is a public api project v2"Delete
Use this command to delete existing project.
stashbase projects delete <NAME_OR_ID> [OPTIONS]Options
Prop
Type
Examples
stashbase projects delete public-api --forceOpen
Use this command to open existing project in a web browser using Stashbase dashboard.
stashbase projects open <NAME_OR_ID> [OPTIONS]