@staysdev/setup
v0.1.3
Published
Connect local projects and coding agents to StayCloud.
Readme
@staysdev/setup
Connect local projects and coding agents to StayCloud.
npx @staysdev/setup init --token <token>
npx @staysdev/setup connect --token <token>
npx @staysdev/setup deploy --new --name "Meu app" --subdomain meu-app
npx @staysdev/setup deploy --output-dir dist
npx @staysdev/setup status
npx @staysdev/setup logs
npx @staysdev/setup disconnectThe setup command writes public connection metadata to .staycloud/config.json
and stores the scoped access token in .staycloud/credentials.json, which is
ignored by .staycloud/.gitignore.
The setup token is short-lived and one-time use. The access token may be scoped
to a project or to the StayCloud account, depending on the setup command
generated by StayBuilder. Account-scoped tokens can create a new project with
deploy --new and publish the current workspace. The CLI ignores .env,
.git, node_modules, .staycloud credentials, and common private key files
before sending files to StayCloud.
