@sourecode/deploy-cli
v0.0.8
Published
Deploys your project to a deploy-server
Downloads
14
Maintainers
Readme
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