Skip to main content

Create nice CLIs without bloating your apps.

Project description

Arguing

Arguing is a little library who lets you create a nice CLI without bloating your app.
Arguing doesn't needs you defining every argument that you wan't, just get it.

Installation

You can use PIP to install the library.

pip install arguing

Use

After installing the library, here's a brief tutorial.

import arguing

arguing.set('--argument', argumentType=str, default='defaultValue')

# arguing.set() is for mandatory arguments, in case you don't need a mandatory argument you can just get it with:
arguing.get('--argument') # Work with mandatory and not mandatory arguments.

# In case you wan't to check if the user passed an specific argument you can use:
arguing.check('--argument') # Return True or False.

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

arguing-1.0.7.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page