Split cli messages to case with invalid usage and help message #506
Annotations
10 errors and 3 warnings
Build and test:
test/onigumo_cli_test.exs#L34
test Onigumo.CLI.main/1 run CLI with no arguments (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L49
test Onigumo.CLI.main/1 run invalid combination of switches "--help -C invalid" (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L43
test Onigumo.CLI.main/1 run CLI with invalid switch "--invalid" (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L38
test Onigumo.CLI.main/1 run CLI with more than one argument (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L76
test Onigumo.CLI.main/1 run CLI with a "-h" switch (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L70
test Onigumo.CLI.main/1 run CLI 'downloader' with "-C" without any value (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L49
test Onigumo.CLI.main/1 run invalid combination of switches "-h --invalid" (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L49
test Onigumo.CLI.main/1 run invalid combination of switches "downloader -h" (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L76
test Onigumo.CLI.main/1 run CLI with a "--help" switch (OnigumoCLITest)
|
Build and test:
test/onigumo_cli_test.exs#L70
test Onigumo.CLI.main/1 run CLI 'downloader' with "--working-dir" without any value (OnigumoCLITest)
|
Build and test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build and test:
lib/cli.ex#L26
variable "components" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Build and test:
lib/cli.ex#L36
function help_message/0 is unused
|