wn-dev-cli

$wn-dev is a cli tool that helps on day-to-day development activities at Worldnet.

This package has been replaced by worldnet-cli
Last updated 2 months ago by jbneto .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install wn-dev-cli 
SYNC missed versions from official npm registry.

wn-dev-cli

wn-dev is a CLI utility that helps on day-to-day development activities at Worldnet.

oclif Version Downloads/week License

Usage

$ npm install -g wn-dev-cli
$ wn-dev COMMAND
running command...
$ wn-dev (-v|--version|version)
wn-dev-cli/0.0.7 linux-x64 node-v10.15.3
$ wn-dev --help [COMMAND]
USAGE
  $ wn-dev COMMAND
...

Commands

wn-dev autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ wn-dev autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

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

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

See code: @oclif/plugin-autocomplete

wn-dev config

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

USAGE
  $ wn-dev config

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

wn-dev config:edit

Opens dev's configuration for edition

USAGE
  $ wn-dev config:edit

DESCRIPTION
  Opens dev's configuration for edition

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

wn-dev config:get

Prints dev's current configuration

USAGE
  $ wn-dev config:get

DESCRIPTION
  Prints dev's current configuration

EXAMPLE
  $ wn-dev config:get

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

wn-dev config:init

Initialise wn-dev tool with developer's environment information

USAGE
  $ wn-dev config:init

DESCRIPTION
  Initialise wn-dev tool with developer's environment information

ALIASES
  $ wn-dev init

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

wn-dev db

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

USAGE
  $ wn-dev db

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

wn-dev db:create

Creates a database schema from an existing one

USAGE
  $ wn-dev 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-dev db:create -d VERSION_5_8_0_0

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

wn-dev db:dump [SCHEMA]

Creates a dump file from a given database schema

USAGE
  $ wn-dev 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-dev db:dump SCHEMA -p /home

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

wn-dev gateway

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

USAGE
  $ wn-dev gateway

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

wn-dev gateway:deploy [BRANCH]

Deploys a given Net Traxion branch to wildfly

USAGE
  $ wn-dev gateway:deploy [BRANCH]

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Deploys a given Net Traxion branch to wildfly

ALIASES
  $ wn-dev deploy

EXAMPLE
  $ wn-dev gateway:deploy

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

wn-dev gateway:redeploy [BRANCH]

Re-deploys an up and running Net Traxion branch

USAGE
  $ wn-dev gateway:redeploy [BRANCH]

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Re-deploys an up and running Net Traxion branch

ALIASES
  $ wn-dev redeploy

EXAMPLE
  $ wn-dev gateway:redeploy

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

wn-dev gateway:setup [BRANCH]

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

USAGE
  $ wn-dev 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-dev setup

EXAMPLE
  $ wn-dev gateway:setup

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

wn-dev help [COMMAND]

display help for wn-dev

USAGE
  $ wn-dev help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

wn-dev run [BRANCH]

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

USAGE
  $ wn-dev 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] Simulator Service 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 simulator services [-s]

EXAMPLE
  $ wn-dev run VERSION_5_8_0_0

See code: src/commands/run.ts

wn-dev simulator

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

USAGE
  $ wn-dev simulator

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

wn-dev simulator:prop [BRANCH]

Prints simulator properties

USAGE
  $ wn-dev simulator:prop [BRANCH]

DESCRIPTION
  Prints simulator properties

EXAMPLE
  $ wn-dev simulator:prop

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

wn-dev simulator:setup [BRANCH]

Sets up a given Simulator branch with localconf files

USAGE
  $ wn-dev simulator:setup [BRANCH]

DESCRIPTION
  Sets up a given Simulator branch with localconf files

EXAMPLE
  $ wn-dev simulator:setup

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

wn-dev simulator:start [BRANCH]

Starts simulator services

USAGE
  $ wn-dev simulator:start [BRANCH]

OPTIONS
  -q, --quiet  Execute in silent mode

DESCRIPTION
  Starts simulator services

EXAMPLE
  $ wn-dev simulator:start

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

wn-dev simulator:stop [BRANCH]

Stops simulator services

USAGE
  $ wn-dev simulator:stop [BRANCH]

DESCRIPTION
  Stops simulator services

EXAMPLE
  $ wn-dev simulator:stop

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

wn-dev svn

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

USAGE
  $ wn-dev svn

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

wn-dev svn:branch BRANCH

Creates a new branch off the head of an existing one

USAGE
  $ wn-dev 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-dev svn:branch VERSION_5_9_0_0

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

wn-dev svn:checkout BRANCH

Checks out a working copy from the SVN repository.

USAGE
  $ wn-dev svn:checkout BRANCH

OPTIONS
  -q, --quiet                Execute in silent mode
  -s, --simulator=simulator  Simulator Service Branch

DESCRIPTION
  Checks out a working copy from the SVN repository.

ALIASES
  $ wn-dev svn:co

EXAMPLE
  $ wn-dev svn:checkout VERSION_5_8_0_0

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

wn-dev svn:merge SOURCE

Merge changes into a working copy

USAGE
  $ wn-dev 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-dev svn:merge VERSION_5_9_0_0

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

wn-dev tail

contains the commands used to tail application and server logs

USAGE
  $ wn-dev tail

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

wn-dev tail:app

Tails the application logs (glassfish.log)

USAGE
  $ wn-dev tail:app

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

DESCRIPTION
  Tails the application logs (glassfish.log)

ALIASES
  $ wn-dev tail

EXAMPLE
  $ wn-dev tail:app

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

wn-dev tail:metrics

Tails the application metrics logs (metrics.log)

USAGE
  $ wn-dev tail:metrics

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

DESCRIPTION
  Tails the application metrics logs (metrics.log)

EXAMPLE
  $ wn-dev tail:metrics

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

wn-dev tail:server

Tails the server logs (server.log)

USAGE
  $ wn-dev tail:server

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

DESCRIPTION
  Tails the server logs (server.log)

EXAMPLE
  $ wn-dev tail:server

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

Current Tags

  • 0.0.7                                ...           latest (2 months ago)

7 Versions

  • 0.0.7 [deprecated]           ...           2 months ago
  • 0.0.6 [deprecated]           ...           3 months ago
  • 0.0.5 [deprecated]           ...           3 months ago
  • 0.0.4 [deprecated]           ...           3 months ago
  • 0.0.3 [deprecated]           ...           3 months ago
  • 0.0.2 [deprecated]           ...           3 months ago
  • 0.0.1 [deprecated]           ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 14
Dependencies (17)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |