Commit 022c9c6
cfsctl: Create lib target
Create a lib target for cfsctl and export some useful functions so we
can use this as a proxy from bootc
Add `run_from_iter` function that accepts the same args as `cfsctl` and
runs the cli logic programmatically
Ref: bootc-dev/bootc#2017
Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>1 parent 63db5a6 commit 022c9c6
4 files changed
Lines changed: 680 additions & 643 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
0 commit comments