Skip to content

Commit

Permalink
Clarify README import
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Nov 14, 2024
1 parent 6fdacd3 commit 7c7e7bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ For this purpose, we provide the `spin.util.extend_cmd` decorator.
Here, we show how to add a `--extra` flag to the existing `build` function:

```python
from spin.cmds import meson
import spin


@click.option("-e", "--extra", help="Extra test flag")
@util.extend_command(spin.cmds.meson.build)
@spin.util.extend_command(spin.cmds.meson.build)
def build_extend(*, parent_callback, extra=None, **kwargs):
"""
This version of build also provides the EXTRA flag, that can be used
Expand Down

0 comments on commit 7c7e7bf

Please sign in to comment.