Auto-CORPus icon indicating copy to clipboard operation
Auto-CORPus copied to clipboard

Change underscores to hyphens in command-line flags

Open alexdewar opened this issue 9 months ago • 4 comments

So this is really a minor nit, but I feel like the long command-line flags should have hyphens not underscores in them, e.g. --config_dir should be --config-dir etc. It's obviously not particularly important (plus fixing it will technically be a breaking change), but it does look kinda odd to me (I'm not aware of other tools that use underscores, though I suppose there are probably some).

alexdewar avatar Mar 14 '25 15:03 alexdewar

Maybe convert to click?

AdrianDAlessandro avatar Mar 26 '25 11:03 AdrianDAlessandro

Click's neat. It also supports setting console colours, so we could use this to colourise the log output. It also has its own progress bar implementation, so we could replace tqdm if we wanted.

alexdewar avatar Mar 27 '25 09:03 alexdewar

On hold until after v1.1.1 release

Also, opportunity to change CLI

  • Remove -f flag and just make the file default first argument

AdrianDAlessandro avatar Apr 08 '25 08:04 AdrianDAlessandro

Maybe convert to click?

I've just heard of typer - which apparently is gaining traction over click

AdrianDAlessandro avatar May 15 '25 12:05 AdrianDAlessandro