Closed relekang closed 7 years ago
Sweeeeet, looks great so far!
Added some adapter tests and documentation. This is just wating for shipping https://github.com/micro-analytics/adapter-flat-file-db/pull/7 now 🙂
Shipped, let's get this shipped too!
Merging #62 into master will increase coverage by
5%
. The diff coverage is67.44%
.
@@ Coverage Diff @@
## master #62 +/- ##
=======================================
+ Coverage 68.04% 73.04% +5%
=======================================
Files 6 6
Lines 97 115 +18
Branches 20 25 +5
=======================================
+ Hits 66 84 +18
- Misses 28 29 +1
+ Partials 3 2 -1
Impacted Files | Coverage Δ | |
---|---|---|
src/index.js | 0% <0%> (ø) |
:arrow_up: |
src/db.js | 100% <100%> (+22.22%) |
:arrow_up: |
src/parseArgs.js | 95.83% <94.44%> (-4.17%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update eafa365...530d443. Read the comment docs.
This adds the possibility to configure adapters through the cli. It will also add the options to the help screen e.g.
--db-name
for flat-file-adapter 👇It adds to new parts to adapters:
init(options)
- a function used to setup up the adapter, will be passed all cli options.options
- an array of options for leo/argsTodo