@sourecode/deploy-cli
Deploys your project to a deploy-server
Last updated 7 months ago by chapterjason .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @sourecode/deploy-cli 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.8                                ...           latest (7 months ago)

7 Versions

  • 0.0.8                                ...           7 months ago
  • 0.0.7                                ...           7 months ago
  • 0.0.6                                ...           7 months ago
  • 0.0.5                                ...           7 months ago
  • 0.0.4                                ...           7 months ago
  • 0.0.3                                ...           7 months ago
  • 0.0.2                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 7
Last Month 0
Dependencies (7)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |