(parser: ToxParser)
| 16 | |
| 17 | @impl |
| 18 | def tox_add_option(parser: ToxParser) -> None: |
| 19 | our = parser.add_command("list", ["l"], "list environments", list_env, inherit=frozenset({CORE})) |
| 20 | our.add_argument("--no-desc", action="store_true", help="do not show description", dest="list_no_description") |
| 21 | d = register_env_select_flags(our, default=None, group_only=True) |
| 22 | d.add_argument("-d", action="store_true", help="list just default envs", dest="list_default_only") |
| 23 | |
| 24 | |
| 25 | def list_env(state: State) -> int: |
nothing calls this directly
no test coverage detected
searching dependent graphs…