@serversinc/cli
v0.0.4
Published
CLI tool for interacting with ServerSinc π©βπ
Downloads
8
Readme
cli
Interact with ServerSinc through the CLI
Install
npm i @serversinc/cli -g
Commands
Servers
sinc servers:list
sinc servers:get --id='id'
Applications
sinc apps:list
# optionally
sinc apps:list --server='server_id'
sinc apps:get --id='id'
Deploys
sinc deploys:list --app='id'
sinc deploys:get --app='app_id' --id='id'
Environment Variables
Sync your local .env files to applications in ServerSinc.
--app - (Optional) The App ID. Required if there's no local config file
--env - (Optional) The .env file name. Required if there's no local config file
--saveconfig - (optional) Creates a local JSON with app & env values for quicker command execution
sinc env:sync --app='id' --env='file_name' --saveconfig