Skip to content

Add --root-directory support to application:create and ship - #208

Merged
joetannenbaum merged 14 commits into
mainfrom
application-create-root-directory
Sep 3, 2026
Merged

Add --root-directory support to application:create and ship#208
joetannenbaum merged 14 commits into
mainfrom
application-create-root-directory

Conversation

@WendellAdriel

Copy link
Copy Markdown
Member

Overview

The public API accepts root_directory when creating an application, but the CLI had no way to send it. Anyone with an app living in a repository subdirectory (a monorepo) could only create it from the dashboard or with raw curl.

Solution

Add a --root-directory option to application:create and ship, send it only when provided so existing requests stay unchanged, and expose rootDirectory in the JSON output. The shipped deploy skill now mentions the flag for monorepos.

Examples

cloud application:create --repository acme/monorepo --root-directory=backend --json -n
cloud ship --root-directory=backend -n

@WendellAdriel
WendellAdriel marked this pull request as ready for review August 25, 2026 12:06
@joetannenbaum

Copy link
Copy Markdown
Collaborator

Thanks man!

@joetannenbaum
joetannenbaum merged commit 6a3fcfc into main Sep 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants