-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
add
subcommand per fetcher type
This commit introduces subcommand to the `add` command. This subcommand permits to specify a fetcher type in order to be able to specify options per fetcher type. For instance, the `branch` is useless for the `file` fetcher. Some usage examples: niv add github stedolan/jq niv add github NixOS/nixpkgs-channels -n nixpkgs -b nixos-18.09 niv add file my-package -v alpha-0.1 -t http://example.com/archive/<version>.zip
- Loading branch information
Showing
1 changed file
with
103 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters