You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to make floki easier to test on the Rust side, it might make sense to split floki into a library portion and a binary portion. This issue is to track what code would be in which part.
My naive first take on this:
binary:
command line parsing
library:
everything else
Would be interested in hearing thoughts... @rlupton20?
The text was updated successfully, but these errors were encountered:
Another possibility is to have the CLI part do configuration parsing + environment structure building, and passing them into the rest of floki. That's broadly the pattern I've been going for so far. To put it another way, all IO apart from running the container is kept to the CLI half, with the library just mapping from pure data to a running container.
I'm not sure the split will make it easier to test as such, but it might highlight any unintended interlacing of things. I don't know if the library would find much use in isolation.
(I had a brief wild thought that an additional frontend might take the VSCode style config and run containers using that - I'd never use such a thing, but a similar thing might be possible for emacs etc.)
In order to make floki easier to test on the Rust side, it might make sense to split floki into a library portion and a binary portion. This issue is to track what code would be in which part.
My naive first take on this:
binary:
library:
Would be interested in hearing thoughts... @rlupton20?
The text was updated successfully, but these errors were encountered: