0.0.8 • Published 5 years ago

@sourecode/deploy-cli v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

SoureCode/Deploy - CLI

Requirements

Your project require a .deployment file which contains json.

Here is an example:

{
  "server": "sourecode.de:2872",
  "domain": "sourecode.de",
  "token": "[...]"
}

server

Here you should insert the hostname and the port from your @sourecode/deploy-server.

domain

Here you should insert the domain, where the project should be deployed.

token

The token will be set on deploy login, so you can leave it empty. But you should login before you publish.

Usage

$ npm install -g @sourecode/deploy-cli
$ deploy-cli COMMAND
running command...
$ deploy-cli (-v|--version|version)
@sourecode/deploy-cli/0.0.7 linux-x64 node-v10.15.1
$ deploy-cli --help [COMMAND]
USAGE
  $ deploy-cli COMMAND
...

Commands

deploy-cli deploy

Deploys your application to a DeployServer

USAGE
  $ deploy-cli deploy

OPTIONS
  -h, --help  show CLI help

See code: dist/commands/deploy.ts

deploy-cli help [COMMAND]

display help for deploy-cli

USAGE
  $ deploy-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

deploy-cli login

Login on your application server

USAGE
  $ deploy-cli login

OPTIONS
  -h, --help           show CLI help
  --password=password
  --username=username

See code: dist/commands/login.ts

deploy-cli logout

Logout from your application server

USAGE
  $ deploy-cli logout

OPTIONS
  -h, --help  show CLI help

See code: dist/commands/logout.ts

deploy-cli register

Register on your application server

USAGE
  $ deploy-cli register

OPTIONS
  -h, --help           show CLI help
  --email=email
  --password=password
  --username=username

See code: dist/commands/register.ts