Skip to main content

Project Structure Pseudo CLI

Generated from packages/codeboltjs/src/tools/pseudo-cli/commands.ts. Edit the registry or rerun node scripts/generate-pseudo-cli-docs.js instead of updating this file by hand.

The proj-struct pseudo CLI module currently exposes 21 commands.

Related SDK docs: Project Structure

Commands At A Glance

ActionDescriptionRequired flags
metadataGet project structure metadataNone
update-metadataUpdate project structure metadata--updates
packagesGet all packagesNone
get-packageGet package by ID--id
create-packageCreate a package--data
update-packageUpdate a package--id, --updates
delete-packageDelete a package--id
add-routeAdd API route to package--package, --route
update-routeUpdate API route--package, --route-id, --updates
delete-routeDelete API route--package, --route-id
add-tableAdd database table to package--package, --table
update-tableUpdate database table--package, --table-id, --updates
delete-tableDelete database table--package, --table-id
add-depAdd dependency to package--package, --dep
update-depUpdate dependency--package, --dep-id, --updates
delete-depDelete dependency--package, --dep-id
add-commandAdd run command to package--package, --command
update-commandUpdate run command--package, --command-id, --updates
delete-commandDelete run command--package, --command-id
update-gitUpdate git info--git
update-sectionUpdate project structure section--package, --section, --data

metadata

Get project structure metadata

codebolt proj-struct metadata

This command takes no parameters.

update-metadata

Update project structure metadata

codebolt proj-struct update-metadata --updates <json>
NameFlagTypeRequiredDescription
updates--updatesjsonYesValue for the updates parameter.

packages

Get all packages

codebolt proj-struct packages

This command takes no parameters.

get-package

Get package by ID

codebolt proj-struct get-package --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

create-package

Create a package

codebolt proj-struct create-package --data <json>
NameFlagTypeRequiredDescription
data--datajsonYesStructured JSON payload passed through to the underlying SDK method.

update-package

Update a package

codebolt proj-struct update-package --id <string> --updates <json>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
updates--updatesjsonYesValue for the updates parameter.

delete-package

Delete a package

codebolt proj-struct delete-package --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

add-route

Add API route to package

codebolt proj-struct add-route --package <string> --route <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
route--routejsonYesValue for the route parameter.

update-route

Update API route

codebolt proj-struct update-route --package <string> --route-id <string> --updates <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
route-id--route-idstringYesValue for the route-id parameter.
updates--updatesjsonYesValue for the updates parameter.

delete-route

Delete API route

codebolt proj-struct delete-route --package <string> --route-id <string>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
route-id--route-idstringYesValue for the route-id parameter.

add-table

Add database table to package

codebolt proj-struct add-table --package <string> --table <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
table--tablejsonYesValue for the table parameter.

update-table

Update database table

codebolt proj-struct update-table --package <string> --table-id <string> --updates <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
table-id--table-idstringYesValue for the table-id parameter.
updates--updatesjsonYesValue for the updates parameter.

delete-table

Delete database table

codebolt proj-struct delete-table --package <string> --table-id <string>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
table-id--table-idstringYesValue for the table-id parameter.

add-dep

Add dependency to package

codebolt proj-struct add-dep --package <string> --dep <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
dep--depjsonYesValue for the dep parameter.

update-dep

Update dependency

codebolt proj-struct update-dep --package <string> --dep-id <string> --updates <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
dep-id--dep-idstringYesValue for the dep-id parameter.
updates--updatesjsonYesValue for the updates parameter.

delete-dep

Delete dependency

codebolt proj-struct delete-dep --package <string> --dep-id <string>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
dep-id--dep-idstringYesValue for the dep-id parameter.

add-command

Add run command to package

codebolt proj-struct add-command --package <string> --command <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
command--commandjsonYesShell command string to execute.

update-command

Update run command

codebolt proj-struct update-command --package <string> --command-id <string> --updates <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
command-id--command-idstringYesValue for the command-id parameter.
updates--updatesjsonYesValue for the updates parameter.

delete-command

Delete run command

codebolt proj-struct delete-command --package <string> --command-id <string>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
command-id--command-idstringYesValue for the command-id parameter.

update-git

Update git info

codebolt proj-struct update-git --git <json>
NameFlagTypeRequiredDescription
git--gitjsonYesValue for the git parameter.

update-section

Update project structure section

codebolt proj-struct update-section --package <string> --section <string> --data <json>
NameFlagTypeRequiredDescription
package--packagestringYesValue for the package parameter.
section--sectionstringYesValue for the section parameter.
data--datajsonYesStructured JSON payload passed through to the underlying SDK method.