Bottom Page

Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 my own command line option parser
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.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  opening python from the command line takes a long time to load? abdulkaderanwar 4 279 Jun-22-2020, 03:42 AM
Last Post: abdulkaderanwar
  f-string in command line arguments Skaperen 0 192 May-05-2020, 11:49 PM
Last Post: Skaperen
  key=value style command argument parser Skaperen 10 719 Dec-04-2019, 03:15 AM
Last Post: Skaperen
  parser for LVM head Skaperen 0 264 Nov-02-2019, 04:04 AM
Last Post: Skaperen
  i need a module for more involved command line parsing Skaperen 21 1,293 Sep-04-2019, 02:18 AM
Last Post: Skaperen
  is there an options parser that can handle + and ++ Skaperen 1 334 Jul-20-2019, 07:42 PM
Last Post: metulburr
  cli arguments parser Skaperen 0 1,310 Mar-21-2018, 01:41 AM
Last Post: Skaperen

Forum Jump:

Users browsing this thread: 1 Guest(s)