Skip to main content
**Incomplete Readme**
Take a look at examples to get started for now. argcmd.make_option is just a function that returns a tuple of args/kwargs ie ((), {}, ) which will later be added to the parser as parser.add_argument(*args, **kwargs).

# Usage #

## Converting from Django Commands to ArgParse Commands ##

* Change **from django.core.management.base import BaseCommand** to **from argcmd.management.base import BaseCommand**
* Change **from optparse import make_option** to **from argcmd import make_option**
* Change option_list to arg_list
* Some options might need a little tweaking due to incompatibilities

Release files for django-argparse-command 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-argparse-command 0.1.0
File Size Uploaded
django-argparse-command-0.1.0.tar.gz 3.3 kB Details

Release files / django-argparse-command-0.1.0.tar.gz

Download URL django-argparse-command-0.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c4d7d431acbaa765837eb9710122b1c6f0218f9b93a5ad9c6597fd2873475817
BLAKE2b-256 checksum
How to use checksums
d6e0a8b83bf831aa9cf7b066dc5c9643516ad0caed5a45925b9ecc2d49dd41ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page