Open dOrgJelli opened 3 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:
w3 build --eject
would output the build docker files for the user to modify.w3 plugin codegen --eject
would output the plugin's codegen script + templates for the user to modify.w3 dapp codegen --eject
same as above.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.
Support a
detache
oreject
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.