**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
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)
| 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 |