Bottom Page

Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 my own command line option parser
#1
i'm creating my own command line option parser function. i might make it into a class but its not that much to configure and i normally never need multiple instances of this. it will support options that begin with '-' or '+' or '--' or '++'. it can also collect name=value and anything you set up in a set. it also recognizes IPv4 and IPv6 addresses in place. it will also deal with '--help' and '--version' directly (do output and exit).

it won't be very popular if i release it because it is for command line scripts and won't be pythonic.

last call for suggestions for v1. coding has started.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  f-string in command line arguments Skaperen 0 144 May-05-2020, 11:49 PM
Last Post: Skaperen
  key=value style command argument parser Skaperen 10 615 Dec-04-2019, 03:15 AM
Last Post: Skaperen
  parser for LVM head Skaperen 0 236 Nov-02-2019, 04:04 AM
Last Post: Skaperen
  i need a module for more involved command line parsing Skaperen 21 1,129 Sep-04-2019, 02:18 AM
Last Post: Skaperen
  is there an options parser that can handle + and ++ Skaperen 1 312 Jul-20-2019, 07:42 PM
Last Post: metulburr
  cli arguments parser Skaperen 0 1,276 Mar-21-2018, 01:41 AM
Last Post: Skaperen

Forum Jump:


Users browsing this thread: 1 Guest(s)