Commit d3fbbf9
Add run0 parser
I tested this parser using this script:
#!/usr/bin/env bash
run0 \
-h --help \
-V --version \
--no-ask-password \
--machine=CONTAINER \
--unit=UNIT \
--property=NAME=VALUE \
--description=TEXT \
--slice=SLICE \
--slice-inherit \
-u USER --user=USER \
-g GROUP --group=GROUP \
--nice=NICE \
-D PATH --chdir=PATH \
--setenv=NAME \
--background=COLOR \
--pty \
--pipe \
--shell-prompt-prefix=PREFIX \
hello
run0 \
-h --help \
-V --version \
--no-ask-password \
--machine=CONTAINER \
--unit=UNIT \
--property=NAME=VALUE \
--description=TEXT \
--slice=SLICE \
--slice-inherit \
-u USER --user=USER \
-g GROUP --group=GROUP \
--nice=NICE \
-D PATH --chdir=PATH \
--setenv=NAME \
--background=COLOR \
--pty \
--pipe \
--shell-prompt-prefix=PREFIX \
-- \
hello
run0 -- run0 -- hello
run0 run0 hello
run0
run0 -u hello hello
I was able to successfully resholve that script by running this command:
NIX_CONFIG='extra-experimental-features = nix-command flakes' nix run <path to resholve repo>#resholve-with-packages -- <path to script> systemd hello1 parent 945336f commit d3fbbf9
1 file changed
+51
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2579 | 2579 | | |
2580 | 2580 | | |
2581 | 2581 | | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
2582 | 2633 | | |
2583 | 2634 | | |
2584 | 2635 | | |
| |||
0 commit comments