nv-cli-unroll-s0 ========== - cli-tool - creat a empty code template for small size loop (sz<=8) - without using parser, just concat string AND lines
npm install nv-cli-unroll-s0
nv-cli-unroll-s0
==========
- cli-tool
- creat a empty code template for small size loop (sz<=8)
- without using parser, just concat string AND lines
install
=======
- npm install nv-cli-unroll-s0 -g
usage
=====
Usage: nv_cli_unroll_s0 [options]
Options:
-r, --repeat repeat times,default 3
-i, --indent default 4
-h, --help usage
example
========
#nv_cli_unroll_s0 -r 6
{
let i = 0;
//--------
//--------
++i;
// case 1
{
}
++i;
// case 2
{
}
++i;
// case 3
{
}
++i;
// case 4
{
}
++i;
// case 5
{
}
++i;
//----------
i /6/
//---------
}
LICENSE
=======
- ISC