( handle_args_with_parser )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( parse_args_overview ) | use argparse | - | - | - | implement with while, case, shift |
| ( parse_positional_args ) | → | - | - | - | - |
| ( parse_positional_args_variant ) | nargs | - | - | - | - |
| ( parse_optional_args ) | → | - | - | - | - |
| ( candidate_values ) | choices= | - | - | - | - |
| ( custom_error ) | parser.error() | - | - | - | - |
| ( example_switch_input_stdin_or_file ) | → | - | - | - | - |