worldnet-cli
Worldnet's Command-Line Interface Tool.
Last updated 2 months ago by jbneto .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install worldnet-cli 
SYNC missed versions from official npm registry.

worldnet-cli

Worldnet's Command-Line Interface Tool.

oclif Version Downloads/week License

Usage

$ npm install -g worldnet-cli
$ wn COMMAND
running command...
$ wn (-v|--version|version)
worldnet-cli/1.0.2 linux-x64 node-v12.1.0
$ wn --help [COMMAND]
USAGE
  $ wn COMMAND
...

Commands

wn autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ wn autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ wn autocomplete
  $ wn autocomplete bash
  $ wn autocomplete zsh
  $ wn autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

wn config

contains the commands used to handle the dev's workspace configuration

USAGE
  $ wn config

See code: src/commands/config/index.ts

wn config:edit

Opens dev's configuration for edition

USAGE
  $ wn config:edit

DESCRIPTION
  Opens dev's configuration for edition

See code: src/commands/config/edit.ts

wn config:get

Prints dev's current configuration

USAGE
  $ wn config:get

DESCRIPTION
  Prints dev's current configuration

EXAMPLE
  $ wn config:get

See code: src/commands/config/get.ts

wn config:init

Initialise wn tool with developer's environment information

USAGE
  $ wn config:init

DESCRIPTION
  Initialise wn tool with developer's environment information

ALIASES
  $ wn init

See code: src/commands/config/init.ts

wn db

contains the commands related to database tasks, such as create a new database

USAGE
  $ wn db

See code: src/commands/db/index.ts

wn db:create

Creates a database schema from an existing one

USAGE
  $ wn db:create

OPTIONS
  -d, --schema=schema      Database schema to be created
  -q, --quiet              Execute in silent mode
  -t, --template=template  Template database schema

DESCRIPTION
  Creates a database schema from an existing one

EXAMPLE
  $ wn db:create -d VERSION_5_8_0_0

See code: src/commands/db/create.ts

wn db:dump [SCHEMA]

Creates a dump file from a given database schema

USAGE
  $ wn db:dump [SCHEMA]

OPTIONS
  -p, --toPath=toPath  [default: /home] Folder the dump file will be created into
  -q, --quiet          Execute in silent mode

DESCRIPTION
  Creates a dump file from a given database schema

EXAMPLE
  $ wn db:dump SCHEMA -p /home

See code: src/commands/db/dump.ts

wn gateway

contains the commands related to Net Traxion Gateway, such as deploy and re-deploy

USAGE
  $ wn gateway

See code: src/commands/gateway/index.ts

wn gateway:checkout BRANCH

Checks out a working copy of Net Traxion Gateway from the SVN repository.

USAGE
  $ wn gateway:checkout BRANCH

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Checks out a working copy of Net Traxion Gateway from the SVN repository.

ALIASES
  $ wn gateway:co

EXAMPLE
  $ wn gateway:checkout VERSION_5_8_0_0

See code: src/commands/gateway/checkout.ts

wn gateway:deploy [BRANCH]

Deploys a given Net Traxion branch to wildfly

USAGE
  $ wn gateway:deploy [BRANCH]

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Deploys a given Net Traxion branch to wildfly

ALIASES
  $ wn deploy

EXAMPLE
  $ wn gateway:deploy

See code: src/commands/gateway/deploy.ts

wn gateway:redeploy [BRANCH]

Re-deploys an up and running Net Traxion branch

USAGE
  $ wn gateway:redeploy [BRANCH]

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Re-deploys an up and running Net Traxion branch

ALIASES
  $ wn redeploy

EXAMPLE
  $ wn gateway:redeploy

See code: src/commands/gateway/redeploy.ts

wn gateway:setup [BRANCH]

Sets up a given Net Traxion branch with localconf and IDE-related files

USAGE
  $ wn gateway:setup [BRANCH]

OPTIONS
  -d, --schema=schema  Database Schema
  -f, --force          Force project setup

DESCRIPTION
  Sets up a given Net Traxion branch with localconf and IDE-related files

ALIASES
  $ wn setup

EXAMPLE
  $ wn gateway:setup

See code: src/commands/gateway/setup.ts

wn help [COMMAND]

display help for wn

USAGE
  $ wn help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

wn run [BRANCH]

executes the whole process from checkout to deploy in order to have a branch up and running

USAGE
  $ wn run [BRANCH]

OPTIONS
  -d, --schema=schema        Database Schema
  -m, --minimal              Ignore extra modules, such as the service simulator
  -q, --quiet                Execute in silent mode
  -s, --simulator=simulator  [default: 2_2_0] Service Simulator Branch

DESCRIPTION
  Performs the following steps to have the given nettraxion version up and running:
    1. Checks out branch from SVN or Git (yet to be supported) repository
    2. Creates or points to an existing database schema
    3. Sets up the worldnet.properties, jboss.hosts.properties and jboss.properties files
    4. Deploys application into wildfly
    5. Starts service simulator [-s]

EXAMPLE
  $ wn run VERSION_5_8_0_0

See code: src/commands/run.ts

wn simulator

contains the commands related to the service simulator, such as start and stop

USAGE
  $ wn simulator

See code: src/commands/simulator/index.ts

wn simulator:checkout BRANCH

Checks out a working copy of the service simulator from the SVN repository.

USAGE
  $ wn simulator:checkout BRANCH

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Checks out a working copy of the service simulator from the SVN repository.

ALIASES
  $ wn simulator:co

EXAMPLE
  $ wn simulator:checkout 2_2_0

See code: src/commands/simulator/checkout.ts

wn simulator:prop [BRANCH]

Prints simulator properties

USAGE
  $ wn simulator:prop [BRANCH]

DESCRIPTION
  Prints simulator properties

EXAMPLE
  $ wn simulator:prop

See code: src/commands/simulator/prop.ts

wn simulator:setup [BRANCH]

Sets up a given Simulator branch with localconf files

USAGE
  $ wn simulator:setup [BRANCH]

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Sets up a given Simulator branch with localconf files

EXAMPLE
  $ wn simulator:setup

See code: src/commands/simulator/setup.ts

wn simulator:start [BRANCH]

Starts service simulator

USAGE
  $ wn simulator:start [BRANCH]

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Starts service simulator

EXAMPLE
  $ wn simulator:start

See code: src/commands/simulator/start.ts

wn simulator:stop [BRANCH]

Stops service simulator

USAGE
  $ wn simulator:stop [BRANCH]

DESCRIPTION
  Stops service simulator

EXAMPLE
  $ wn simulator:stop

See code: src/commands/simulator/stop.ts

wn svn

contains the commands related to source control tasks, such as checkout and merges

USAGE
  $ wn svn

See code: src/commands/svn/index.ts

wn svn:branch BRANCH

Creates a new branch off the head of an existing one

USAGE
  $ wn svn:branch BRANCH

OPTIONS
  -q, --quiet          Execute in silent mode
  -s, --source=source  Source branch whose HEAD will be used to create the new one

DESCRIPTION
  Creates a new branch off the head of an existing one

EXAMPLE
  $ wn svn:branch VERSION_5_9_0_0

See code: src/commands/svn/branch.ts

wn svn:checkout BRANCH

Checks out a working copy from the SVN repository.

USAGE
  $ wn svn:checkout BRANCH

OPTIONS
  -p, --project=gateway|simulator  (required) [default: gateway] Project to checkout
  -q, --quiet                      Execute in silent mode

DESCRIPTION
  Checks out a working copy from the SVN repository.

ALIASES
  $ wn svn:co

EXAMPLE
  $ wn svn:checkout VERSION_5_8_0_0

See code: src/commands/svn/checkout.ts

wn svn:merge SOURCE

Merge changes into a working copy

USAGE
  $ wn svn:merge SOURCE

OPTIONS
  -q, --quiet          Execute in silent mode
  -r, --revsOnly       Only shows the eligible revisions
  -t, --target=target  Target branch to which the changes will be applied

DESCRIPTION
  Merge changes into a working copy

EXAMPLE
  $ wn svn:merge VERSION_5_9_0_0

See code: src/commands/svn/merge.ts

wn tail

contains the commands used to tail application and server logs

USAGE
  $ wn tail

See code: src/commands/tail/index.ts

wn tail:app

Tails the application logs (glassfish.log)

USAGE
  $ wn tail:app

OPTIONS
  -n, --lines=lines  outputs the last NUM lines

DESCRIPTION
  Tails the application logs (glassfish.log)

ALIASES
  $ wn tail

EXAMPLE
  $ wn tail:app

See code: src/commands/tail/app.ts

wn tail:metrics

Tails the application metrics logs (metrics.log)

USAGE
  $ wn tail:metrics

OPTIONS
  -n, --lines=lines  outputs the last NUM lines

DESCRIPTION
  Tails the application metrics logs (metrics.log)

EXAMPLE
  $ wn tail:metrics

See code: src/commands/tail/metrics.ts

wn tail:server

Tails the server logs (server.log)

USAGE
  $ wn tail:server

OPTIONS
  -n, --lines=lines  outputs the last NUM lines

DESCRIPTION
  Tails the server logs (server.log)

EXAMPLE
  $ wn tail:server

See code: src/commands/tail/server.ts

wn update [CHANNEL]

update the wn CLI

USAGE
  $ wn update [CHANNEL]

See code: @oclif/plugin-update

Current Tags

  • 1.0.2                                ...           latest (2 months ago)

3 Versions

  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 6
Last Month 56
Dependencies (19)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |