Skip to content
Myr

Merge pull request #385 from gordonfierce/Typos

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Change some it's to its.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents fe2f525, 3df1543 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:docs/commands.rst+3 added-3 removed
329 unmodified lines
330process the result of the previous command. There are various ways in331which this can be facilitated. The most obvious way is to store a value332on the context object and process it from function to function. This333works by decorating a function with :func:`pass_context` after which the334context object is provided and a subcommand can store it's data there.334context object is provided and a subcommand can store its data there.335336Another way to accomplish this is to setup pipelines by returning337processing functions. Think of it like this: when a subcommand gets338invoked it processes all of it's parameters and comes up with a plan of339how to do it's processing. At that point it then returns a processing338invoked it processes all of its parameters and comes up with a plan of339how to do its processing. At that point it then returns a processing340function and returns.341342Where do the returned functions go? The chained multicommand can register343a callback with :meth:`MultiCommand.resultcallback` that goes over all
209 unmodified lines