@ts-ioc/cli
TypeScript icon, indicating that this package has built-in type declarations

4.0.5 • Public • Published

packaged @ts-ioc/cli

@ts-ioc/cli is project build pack tools cli, base on AOP, Ioc container, via @ts-ioc. file stream pipes activities.

This repo is for distribution on npm. The source for this module is in the main repo. Please file issues and pull requests against that repo.

Install

install cli

cli in global

npm install -g '@ts-ioc/cli'
  pk --help  //show help
  pk -V  //show version of cli.

init project

//init project with tsioc, dev: save in devDependencies or dependencies.
pk init [--browser] [--version tsioc_version] [--dev]

//init project with bootstrap, dev: save in devDependencies or dependencies.
pk init boot [--browser] [--version tsioc_version] [--dev] 

//init project with workflow, dev: save in devDependencies or dependencies.
pk init activity [--browser] [--version tsioc_version] [--dev]

//init project with build pack, dev: save in devDependencies or dependencies.
pk init pack [--browser] [--version tsioc_version] [--dev]

build pack

pk run [--activity] [taskfile.ts] [--your_env_arg=val]...
pk build [taskfile config]  [--your_env_arg=val]...

Unit test

pk test [test/**/*.(ts|js)]

License

MIT © Houjun

Package Sidebar

Install

npm i @ts-ioc/cli

Weekly Downloads

0

Version

4.0.5

License

MIT

Unpacked Size

37.7 kB

Total Files

5

Last publish

Collaborators

  • houjun