Skip to content

serversinc/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Interact with ServerSinc through the CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published