npm-consider icon indicating copy to clipboard operation
npm-consider copied to clipboard

Non interactive mode, details, ability to pipe

Open kroko opened this issue 3 years ago • 1 comments

Related to https://github.com/delfrrr/npm-consider/issues/10 which correctly observes that

no good way to pipe it to a file

There shall be non interactive way to call details. The other issue already gives an potential solution by adding --details arg

npm-consider install --test --details > detailsdump.txt

would solve both

  • https://github.com/delfrrr/npm-consider/issues/10, where OP could parse detailsdump.txt
  • my issue is two fold - monstrous large dependency list as well as trying to make this a swiss army knife 😄 - I'd like to parse the details dump (known structure) in the end to generate licence/attribution file to ship along the project (desktop Electron app)

Thanks!

kroko avatar Apr 24 '21 08:04 kroko

to generate licence/attribution file to ship along the project (desktop Electron app)

@kroko I'm in the same boat. Did you find a clever way to export / process the details table?

MarMun avatar Oct 18 '22 08:10 MarMun