18F / 18f-scaffolding

A scaffold/generator to standardize 18F project setup
Other
26 stars 14 forks source link

Add name, dir opts; escape quoted args #9

Closed emanuelfeld closed 8 years ago

emanuelfeld commented 8 years ago

Adds name (-n, —name) and dir (-d, —dir) opts for init script.

Escapes quotes on args to preserve arg values with spaces.

h\t @benjaminrosenbaum

Don’t think the eval in orgwide is objectionable in this case. Perhaps there’s a better way of preserving spaces, though..

stvnrlly commented 8 years ago

Nice additions!

(I may change --dir to --dest in the future)

emanuelfeld commented 8 years ago

Yeah, --dest is likely a better convention.