expede / nix-command-utils

Apache License 2.0
1 stars 0 forks source link

[feature request] Support passing through arguments #1

Open matheus23 opened 7 months ago

matheus23 commented 7 months ago

When I define a command like so:

ipfs = "${pkgs.kubo}/bin/ipfs";

command_menu = command-utils.commands.${system} {
  ipfs-daemon = cmd "Start the IPFS (kubo) daemon"
    "${ipfs} --repo-dir ./.ipfs --offline daemon";
};

It would be nice if I could run ipfs-daemon --help and get help text (or set flags, etc.).

cognivore commented 7 months ago

👀