It’s somewhat surprising to me the Dgraph CLI uses --snake_case
instead of --kebab-case
for arguments:
- POSIX coreutils use kebab case
- Most command-line programs also use kebab case
- GNU’s list of long options uses kebab case
This would not be a breaking change - if we decided to shift, we could simply alias the snake case options. This is not uncommon - for example, the angular-cli
--help
page documents arguments as --kebab-case
, but it silently supports the same arguments supplied as --camelCase
.