ChistaDATA / ChistaDATA-Anansi-Profiler

ChistaDATA Profiler for ClickHouse
GNU General Public License v3.0
13 stars 5 forks source link

Command line arguments refactor #23

Closed jhonis closed 1 day ago

jhonis commented 2 days ago

Is your feature request related to a problem? Please describe. When going through the arguments list to configure the execution of query profiler, they don't look intuitive making the configuration difficult.

Describe the solution you'd like To refactor/rename/organize the arguments so they are more intuitive for the end user and also allow improvements on the source code side.

Describe alternatives you've considered NA

Additional context The better organization of arguments will be easier to see when looking at the source code. Later on these arguments can become a config file, which will make configuration even simpler for the end users.

A suggestion on how to do that is to group them in blocks like the example below:

./anansi --db.type clickhouse --s3.accessKey AKIA234DD --log.level debug logFilePath.txt

instead of

./anansi --database-type clickhouse --s3-access-key AKIA234DD --log-level debug logFilePath.txt