niv
niv copied to clipboard
Automatically generate CLI shortcuts
The ongoing niv refactor allows tracking which keys are accessed statically. That means that “shortcut attributes” can be inferred automatically.
@nmattia can you rephrase this? What are "shortcut attributes"? The link you provided just points to the refactoring commit.
That means that niv update --help could infer from the applicative which keys are read during the update (like sha256, url, etc) and could automatically provide command line flags for them (--sha256, etc).