AndiDittrich / NodeMCU-Tool

:wrench: Upload + Manage Lua files on NodeMCU
https://www.npmjs.com/package/nodemcu-tool
MIT License
310 stars 54 forks source link

`--noninteractive` flag not respected in `mkfs` action #72

Closed bradshjg closed 4 years ago

bradshjg commented 4 years ago

Issue Description

--noninteractive flag not configured and is ignored in calls to mkfs

Expected Behavior

format filesystem w/o prompting user.

Current Behavior

mkfs always prompts user regardless of --noninteractive flag presence.

Steps to Reproduce

nodemcu-tool mkfs --noninteractive

notice that the prompt still appears.

Possible Solution

update lib/cli/options-manager.js (PR en route)...I don't really know what I'm doing with JS though, so we'll see 😄