Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3517

Use argparse in sqlline-thin.py

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.10.0
    • None
    • None

    Description

      sqlline-thin.py just does hand-rolled argument parsing. We can simplify the code, make better usage and validation choices, and support some extra options that we presently default to.

      Python's argparse does all of these for us.

      Attachments

        1. PHOENIX-3517.002.patch
          4 kB
          Josh Elser
        2. PHOENIX-3517.patch
          4 kB
          Josh Elser

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: