wording
This commit is contained in:
parent
7fe4bfa20f
commit
1f3088fb94
1 changed files with 4 additions and 4 deletions
|
@ -32,10 +32,10 @@ import qualified TypeInternals
|
||||||
- It should run quickly and should not modify Annex state.
|
- It should run quickly and should not modify Annex state.
|
||||||
-
|
-
|
||||||
- 2. The perform stage is run after a message is printed about the subcommand
|
- 2. The perform stage is run after a message is printed about the subcommand
|
||||||
- being run.
|
- being run, and it should be where the bulk of the work happens.
|
||||||
-
|
-
|
||||||
- 3. The cleanup stage is run only if the do stage succeeds, and it returns
|
- 3. The cleanup stage is run only if the perform stage succeeds, and it
|
||||||
- the overall success/fail of the subcommand.
|
- returns the overall success/fail of the subcommand.
|
||||||
-}
|
-}
|
||||||
type SubCmdStart = String -> Annex (Maybe SubCmdPerform)
|
type SubCmdStart = String -> Annex (Maybe SubCmdPerform)
|
||||||
type SubCmdPerform = Annex (Maybe SubCmdCleanup)
|
type SubCmdPerform = Annex (Maybe SubCmdCleanup)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue