Hello,
I'm using devbox inside a monorepo and I want to exec devbox shell
while I'm in a nested folder.
.
├── a
│ └── content
├── b
│ └── content
└── devbox.json
While I'm inside a
or b
, running devbox shell
result in Error: open devbox.json: no such file or directory
and I want devbox to lookup if there is some parent folders that uses devbox.
@QuentinN42 when inside a
or b
, could you try running devbox shell ../
and see if that works for you?
Yes it works but for example using git I don't need to give the absolute path to the base repo to make it works...
I think this line can be changed to return a null value.
Line 24 in 930867b
Then in this folder if the path
is null, recursively test devbox.Open(path)
from current folder to root folder.
Lines 31 to 35 in 930867b
I've found others issues about the devbox.json
file like #109 or #24 so I think this is the best way to implement this feature without adding too much technical depth...
Owner Name | jetpack-io |
Repo Name | devbox |
Full Name | jetpack-io/devbox |
Language | Go |
Created Date | 2022-08-18 |
Updated Date | 2023-03-31 |
Star Count | 4960 |
Watcher Count | 19 |
Fork Count | 68 |
Issue Count | 42 |
Issue Title | Created Date | Updated Date |
---|