iomentum / cargo-scaffold

cargo scaffold lets you scaffold and generate projects described in a simple TOML file
MIT License
57 stars 12 forks source link

Add the ability to specify a parameter from the command line #20

Closed BrynCooke closed 2 years ago

BrynCooke commented 2 years ago

It's be useful, especially for testing to be able to specify a parameter from the command line. This would allow you to specify something extra for testing, but that would not be part of the general flow.

e.g.

cargo-scaffold my-template -c branch-name-override=my-branch -c something=new
BrynCooke commented 2 years ago

Fixed in #22 and #23