Skip to content

Improve platform CLI #131524

Description

@Harry-Lees

Feature or enhancement

Proposal:

Currently, the platform module's CLI is fairly hidden and inaccessible. I think there are two main issues with the module CLI.

  1. There is no "Command Line Interface" section of the docs like there is with some other modules e.g. random. (It is, however, listed under the Modules command-line interface section)
  2. There is no help section when running the platform CLI, the CLI takes two arguments --terse and --nonaliased, which I could only find from looking at the source in Lib/platform.py.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions