get args from command line, environment and configuration file.
Project description
get_args
get args from command line, environment and configuration file.
https://packaging.python.org/tutorials/packaging-projects/
args definition:
a public_ip_api:
action: store
nargs: +
const:
default:
- http://www.myipaddress.com/
- https://www.ipip.net/
- http://20019.ip138.com/
type: !!python/name:builtins.list
choices:
required:
help: public http[s] api to get public ip
metavar: API
dest:
options:
prog: ''
usage: '%(prog)s [options]'
description: 'ddns_client'
epilog: 'generated by get_args.'
add_help: ''
allow_abbrev: true
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
get_args-0.9.tar.gz
(5.3 kB
view hashes)
Built Distribution
get_args-0.9-py3-none-any.whl
(20.1 kB
view hashes)