Split the exernal data loader out of CLI.hs
Currently the external data loader is in CLI.hs, which makes all programs that need cli functionality (options, etc.) link against the network modules (most importantly curl). This patch splits this functionality into a new module such that (for example) hail which only deals with file I/O doesn't link against these libraries.
Showing
- Ganeti/HTools/CLI.hs 2 additions, 75 deletionsGaneti/HTools/CLI.hs
- Ganeti/HTools/ExtLoader.hs 110 additions, 0 deletionsGaneti/HTools/ExtLoader.hs
- Ganeti/HTools/Loader.hs 3 additions, 2 deletionsGaneti/HTools/Loader.hs
- hbal.hs 1 addition, 0 deletionshbal.hs
- hspace.hs 1 addition, 0 deletionshspace.hs
Loading
Please register or sign in to comment