Socket
Book a DemoInstallSign in
Socket

@serversinc/cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serversinc/cli

CLI tool for interacting with ServerSinc πŸ‘©β€πŸš€

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 15 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts