You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Michael A. Smith (Jira)" <ji...@apache.org> on 2021/06/24 01:00:07 UTC
[jira] [Updated] (AVRO-3162) Update Python CLI Argument Handling
[ https://issues.apache.org/jira/browse/AVRO-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael A. Smith updated AVRO-3162:
-----------------------------------
Description:
Avro python has several modules that use commandline arguments via sys.argv or the outdated optparse library. I propose to replace all of that using the up-to-date argparse library.
Also, I would like to move scripts/avro into {{avro/__main__.py}}, so that {{{{python -m avro}}}} invokes it directly, and so that all the avro python code is in the same directory tree.
was:
Avro python has several modules that use commandline arguments via sys.argv or the outdated optparse library. I propose to replace all of that using the up-to-date argparse library.
Also, I would like to move scripts/avro into avro/__main__.py, so that {{python -m avro}} invokes it directly, and so that all the avro python code is in the same directory tree.
> Update Python CLI Argument Handling
> -----------------------------------
>
> Key: AVRO-3162
> URL: https://issues.apache.org/jira/browse/AVRO-3162
> Project: Apache Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.10.2
> Reporter: Michael A. Smith
> Assignee: Michael A. Smith
> Priority: Major
>
> Avro python has several modules that use commandline arguments via sys.argv or the outdated optparse library. I propose to replace all of that using the up-to-date argparse library.
> Also, I would like to move scripts/avro into {{avro/__main__.py}}, so that {{{{python -m avro}}}} invokes it directly, and so that all the avro python code is in the same directory tree.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)