niv icon indicating copy to clipboard operation
niv copied to clipboard

Automatically generate CLI shortcuts

Open nmattia opened this issue 6 years ago • 2 comments

The ongoing niv refactor allows tracking which keys are accessed statically. That means that “shortcut attributes” can be inferred automatically.

nmattia avatar Jun 10 '19 19:06 nmattia

@nmattia can you rephrase this? What are "shortcut attributes"? The link you provided just points to the refactoring commit.

andir avatar Jul 31 '21 10:07 andir

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).

nmattia avatar Aug 03 '21 08:08 nmattia