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

project name: `-n ` flag on the command line is not honoured #46

Closed gabhijit closed 1 year ago

gabhijit commented 1 year ago

This is a small issue - if we provide the project name using -n flag from the command line. During scaffold generation, the project name is prompted again.

This is generally not a problem when just using the command once. But if one wants to use this in a workflow, you want to make sure the same name is reused. Having this flag working would be useful. Also, since -h actually specifies -n option, it's better that option is working as well.