mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-07 16:04:02 +00:00
chore: left out "Filters" word added
This commit is contained in:
parent
f6507f995a
commit
ef30dbc193
@ -147,11 +147,11 @@ class Filters:
|
|||||||
instance, you can add a "hello" to the init task of the lms container by modifying
|
instance, you can add a "hello" to the init task of the lms container by modifying
|
||||||
the :py:data:`CLI_DO_INIT_TASKS` filter::
|
the :py:data:`CLI_DO_INIT_TASKS` filter::
|
||||||
|
|
||||||
hooks.CLI_DO_INIT_TASKS.add_item(("lms", "echo hello"))
|
hooks.Filters.CLI_DO_INIT_TASKS.add_item(("lms", "echo hello"))
|
||||||
|
|
||||||
To add multiple items at a time, use ``add_items``::
|
To add multiple items at a time, use ``add_items``::
|
||||||
|
|
||||||
hooks.CLI_DO_INIT_TASKS.add_items(
|
hooks.Filters.CLI_DO_INIT_TASKS.add_items(
|
||||||
("lms", "echo 'hello from lms'"),
|
("lms", "echo 'hello from lms'"),
|
||||||
("cms", "echo 'hello from cms'"),
|
("cms", "echo 'hello from cms'"),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user