0.15.1 • Published 7 years ago
bobflux-gen v0.15.1
bobflux-gen
Generator for monkey files in bobflux application. Inspired by bobril-build
How To Generate cursors
- Install bobflux-gen:
npm i bobflux-gen -g
- run generating:
bfg c --appStatePath src/states.ts --appStateName YourRootStateName --parentStateKey prefix.of.your.state.in.global.state --recursively 1
- "-p, --appStatePath " - defines pattren for state files search (default is ./state.ts)
- "-n, --appStateName " - defines root name of Application state (default is IApplicationState)
- "-k, --parentStateKey " - defines key of parent state, it's suitable for nested states (default is empty)
- "-r, --recursively <1/0>" - enables recursively generation for nested states (default is 0)
- "-d, --debug <1/0>", "enables logging in debug level", /^(true|false|1|0|t|f|y|n)$/i, "0"
- just look at all *.cursors.ts
How To Generate functionl cursors
- Install bobflux-gen:
npm i bobflux-gen -g
- run generation:
bfg fc --appStatePath src/states.ts --appStateName YourRootStateName --parentStateKey prefix.of.your.state.in.global.state --recursively 1
- "-p, --appStatePath " - defines pattren for state files search (default is ./state.ts)
- "-n, --appStateName " - defines root name of Application state (default is IApplicationState)
- "-k, --parentStateKey " - defines key of parent state, it's suitable for nested states (default is empty)
- "-r, --recursively <1/0>" - enables recursively generation for nested states (default is 0)
- just look at all *.f.cursors.ts
How To Generate StateBuilders for your tests
- Install bobflux-gen:
npm i bobflux-gen -g
- run generating:
bfg b --appStatePath src/states.ts --appStateName YourRootStateName --specRelativePath ../spec/ --recursively 1
- "-p, --appStatePath " - defines pattren for state files search (default is ./state.ts)
- "-n, --appStateName " - defines root name of Application state (default is IApplicationState)
- "-s, --specRelativePath " - defines spec directory relative path from appStatePath (default is next to states)
- "-k, --parentStateKey " - defines key of parent state, it's suitable for nested states (default is empty)
- "-r, --recursively <1/0>" - enables recursively generation for nested states (default is 0)
- "-d, --debug <1/0>", "enables logging in debug level", /^(true|false|1|0|t|f|y|n)$/i, "0"
- just look at all *.builders.ts
How To Generate OData Api
- Install bobflux-gen:
npm i bobflux-gen -g
- run generating:
bfg o -u http://localhost:8097/api/odata/$metadata -f ./axiosApi.ts
- "-u, --metadataUlr ", "defines odata metadata url
- "-f, --targetFile ", "defines target file where will be odata api generated
- "-d, --debug <1/0>", "enables logging in debug level", /^(true|false|1|0|t|f|y|n)$/i, "0"
- just look into ./axiosApi.ts
0.15.1
7 years ago
0.15.0
8 years ago
0.14.1
8 years ago
0.14.0
8 years ago
0.13.0
8 years ago
0.11.0
9 years ago
0.10.1
9 years ago
0.10.0
9 years ago
0.9.0
9 years ago
0.7.4
9 years ago
0.6.4
9 years ago
0.6.3
9 years ago
0.6.1
9 years ago
0.6.0
9 years ago
0.5.4
9 years ago
0.5.3
9 years ago
0.5.2
9 years ago
0.5.1
9 years ago
0.5.0
9 years ago
0.4.0
9 years ago
0.3.0
9 years ago
0.2.0
9 years ago
0.1.23
9 years ago
0.1.22
9 years ago
0.1.21
9 years ago
0.1.20
9 years ago
0.1.15
9 years ago
0.1.14
9 years ago
0.1.12
10 years ago
0.1.11
10 years ago
0.1.9
10 years ago
0.1.8
10 years ago
0.1.7
10 years ago
0.1.6
10 years ago
0.1.5
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago