File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,15 @@ export def installed-version [package] {
1616 | get -- optional version.0
1717}
1818
19- export def install [package ] {
20- ^ cargo install -- locked $package
19+ export def install [package = " " -- git =" " ] {
20+ if ($package | is-not-empty ) {
21+ ^ cargo install -- locked $package
22+ } else if ($git | is-not-empty ) {
23+ ^ cargo install -- locked -- git $git
24+ } else {
25+ print " No package provided!"
26+ exit 1
27+ }
2128}
2229
2330export def "self install" [version ] {
Original file line number Diff line number Diff line change 1111 description : For making charts
1212 manager : dnf
1313
14+ - cmd : nono
15+ description : Capability-based sandboxes with fine-grained policies. Requires dbus-devel
16+ id : --git https://github.com/always-further/nono
17+ manager : cargo
18+
19+ - cmd : dbus-devel
20+ description : Required by nono
21+ manager : dnf
22+
1423- cmd : deno
1524 description : Javascript runtime
1625 manager : cargo
You can’t perform that action at this time.
0 commit comments