Structured facts about what a command does.
For the person who has to approve it and did not write it. explain() returns typed fields — effect, reversibility, network reach, privilege — and no score.
npm i cmd-factsimport { explain } from 'cmd-facts'
explain("an example to start from, or type your own~/Desktop")
Makes a request to and saves what comes back into a file in this folder.
The web address decides what the saved file is called.
What is cmd-facts?
cmd-facts is a library that returns structured facts about what a command does — effect, reversibility, network reach, privilege — so the surface asking a person to approve it can tell them the truth.
The schema is the deliverable. The plain sentence is one rendering of those fields, not the product. There is no risk score, and no model at run time.