Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Restructure Argument Clinic CLI #107467

Closed
Closed
@erlend-aasland

Description

@erlend-aasland

Suggesting to ...:

  • make the clinic tool a well-behaved command-line citizen; write tostderr, notstdout, on error (partly depends onRework Argument Clinic error handling #107468)
  • put the whole CLI inmain, making it easier to mock the tool in the test suite (currently we use subprocesses, which is slow, and requires several lines of boiler-plate test setup code)
  • Introduce CLIError and use it for usage errors UsedArgumentParser.error instead.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp