Commit 8c8aa17
authored
feat: add scripts as valid args for shell completion (#775)
## Summary
Add scripts in `devbox.json` as `devbox run`'s valid arguments and it provides shell completion.
Here's the screenshot:
<img width="825" alt="Screenshot 2023-03-16 at 21 45 20" src="https://user-images.githubusercontent.com/7611700/225638218-1915e62d-fec9-4ceb-9f73-b1072acde125.png">
And here's a demo:
https://user-images.githubusercontent.com/7611700/225638325-e971c651-7383-4ddc-84db-861e6de4cbd2.mp4
## How was it tested?1 parent 25f57e3 commit 8c8aa17
2 files changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
43 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
44 | 61 | | |
45 | 62 | | |
46 | 63 | | |
| |||
0 commit comments