polywrap / wrap-cli

Used to create, build, and integrate wraps.
https://polywrap.io
MIT License
170 stars 52 forks source link

CLI: Wrapper Build Eject Command #419

Open dOrgJelli opened 3 years ago

dOrgJelli commented 3 years ago

Support a detache or eject command in the CLI, allowing the user to specify specific pieces of the toolchain they want to have full control over.

The first use-case of this would be the build pipeline. Currently, we tell users to copy/paste the web3api.build.yaml & Dockerfile from the .w3/ folder, and move them into their project. This is tedious and error prone, since some settings in those files.

Instead of doing this, the user would just run w3 eject build, which would output the proper files into their project folder for them to continue customizing.

dOrgJelli commented 2 years ago

I think it'd be a better developer experience to have eject be an option on a command that supports this type of behavior. For example:

dOrgJelli commented 2 years ago

Final developer experience: polywrap wrapper build eject

I've updated this issue to be specific to the build command, other commands may follow in the future.