1.0.3 • Published 4 months ago

nv-cli-creat-task-tree-proj v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

nv-cli-creat-task-tree-proj

install

  • npm install nv-cli-creat-task-tree-proj -g

usage

    Usage: nv_cli_creat_task_tree_proj [options] 
    Options:
        -p, --path         project dir, default "./"
        -i, --input        input config json-string ,default stdin
        -h, --help         usage

example

        nv_cli_creat_task_tree_proj -p TEST 
        // paste json-like config here:
        
                {
                   task0: {
                      task00:null,
                      task01:null
                   }
                   task1: {
                      task10:null,
                      task11:null,
                   }
                   task2: {
                      task20:null,
                      task21:null,
                   }
                }

         //press ctrl+D



                TEST/
                ├── index.js
                ├── ___rtrn.js
                ├── ___send.js
                ├── task0
                │   ├── index.js
                │   ├── ___rtrn.js
                │   ├── ___send.js
                │   ├── task00
                │   │   ├── index.js
                │   │   ├── ___rtrn.js
                │   │   └── ___send.js
                │   └── task01
                │       ├── index.js
                │       ├── ___rtrn.js
                │       └── ___send.js
                ├── task1
                │   ├── index.js
                │   ├── ___rtrn.js
                │   ├── ___send.js
                │   ├── task10
                │   │   ├── index.js
                │   │   ├── ___rtrn.js
                │   │   └── ___send.js
                │   └── task11
                │       ├── index.js
                │       ├── ___rtrn.js
                │       └── ___send.js
                └── task2
                    ├── index.js
                    ├── ___rtrn.js
                    ├── ___send.js
                    ├── task20
                    │   ├── index.js
                    │   ├── ___rtrn.js
                    │   └── ___send.js
                    └── task21
                        ├── index.js
                        ├── ___rtrn.js
                        └── ___send.js


          cd TEST
          node 
          > var x = require("./index")
          > await x();

LICENSE

  • ISC