query
On this page

generateOptparseApplicativeCompletion

pkgs.haskell.lib.generateOptparseApplicativeCompletion

Docs pulled from | This Revision | 35 minutes ago


Modify a Haskell package to add shell completion scripts for the given executable produced by it. These completion scripts will be picked up automatically if the resulting derivation is installed, e.g. by nix-env -i.

Invocation: generateOptparseApplicativeCompletions command pkg

command: name of an executable pkg: Haskell package that builds the executables