This commit is contained in:
parent
993113b2b7
commit
005b3f4530
13 changed files with 114 additions and 64 deletions
|
|
@ -21,7 +21,7 @@ class Command(BaseCommand):
|
|||
|
||||
Each Command implements the following methods, called
|
||||
in this order (only func() is actually required):
|
||||
- at_pre_cmd(): If this returns True, execution is aborted.
|
||||
- at_pre_cmd(): If this returns anything truthy, execution is aborted.
|
||||
- parse(): Should perform any extra parsing needed on self.args
|
||||
and store the result on self.
|
||||
- func(): Performs the actual work.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue