FEATURE: add a dump-setup command
It is important to allow the user to modify the setup of a package preventing errors and making sure that the trace stays compatible withe the setup.
Use cases are:
- you download a package and you want to change or add a dependency volume.
- you download a package and the default exploration port is not accessible.
Future use-cases:
- you want to specify a local
dexplore.sh
scripts (to explore the data differently) - you want to specify a local
Dockerfile
(to build the image)
How to?
kufair package dump-setup <package-name> --output=<output-path> (optional)
This writes a setup.toml
(not .json) file in current directory (or output directory). The user can not edit the setup.toml
file and create its own package based on it:
kufair package create --url=... --setup=setup.toml --deps=...