You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/api-guides/tools/idf-py.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -369,14 +369,14 @@ The ``action_extensions`` function takes arguments ``base_actions`` (all current
369
369
- ``global_options``: A list of options available globally for all commands. Each option is a dictionary with fields such as ``names``, ``help``, ``type``, ``is_flag``, ``scope``, etc.
370
370
- ``global_action_callbacks``: A list of functions called once before any task execution. Each global action callback function accepts three arguments:
371
371
372
-
- ``ctx`` — the `click context`_,
373
-
- ``global_args`` — all available global arguments,
374
-
- ``tasks`` — the list of tasks to be executed. Task refer to the action / sub-command used with `idf.py`
372
+
- ``ctx`` — The `click context`_
373
+
- ``global_args`` — All available global arguments
374
+
- ``tasks`` — The list of tasks to be executed. Task refer to the action / sub-command used with `idf.py`
375
375
376
376
- ``actions``: A dictionary of new subcommands. Each action has a ``callback`` function and may also include ``options``, ``arguments``, ``dependencies``, etc. Each action callback function accepts three to four arguments:
377
377
378
-
- ``subcommand_name`` — the name of the command (useful if multiple commands share the same callback),
379
-
- ``ctx`` — the `click context`_,
378
+
- ``subcommand_name`` — the name of the command (useful if multiple commands share the same callback)
379
+
- ``ctx`` — the `click context`_
380
380
- ``global_args`` — all available global arguments,
381
381
- ``**action_args`` — (optional) arguments passed to the action
0 commit comments