Closed lucaswerkmeister closed 10 years ago
There should also be some short options (e. g. -l
or -n
for --maximumLineLength
), and a few “presets” like --allmanStyle
(opening brace always on new line).
I think this is mostly done now (in 17f29e6..13f4198). Closing.
Eventually we’ll probably change the default behavior of "single filename" to "write to that file" (currently: write to stdout).
Do we need unit tests for the command line options? I have a feeling we might... but that’s going to amount to spawning another Ceylon instance to get the arguments out. Ugh.
They should be just like the config file options, except that they start GNU-style with
--
("--indentMode=4-wide tabs"
).