0.0.4 • Published 8 months ago

@serversinc/cli v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

cli

Interact with ServerSinc through the CLI

npm.io

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
0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

9 months ago