Skip to content

Replace Deprecated optparse with argparse for Command-Line Parsing #142

@yy214123

Description

@yy214123

The current implementation of pyfiglet utilizes the optparse module for parsing command-line arguments.
However, optparse has been deprecated since Python 3.2 in favor of the more powerful and flexible argparse module.

Proposed Changes:
Switch to argparse: Replace all instances of optparse with argparse to handle command-line arguments.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions