Skip to content

Commit

Permalink
Modify
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Dec 12, 2024
1 parent 0f43e44 commit bfe031f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2829,6 +2829,14 @@ goodbye:
print(sh.echo("Goodbye from Python!"), end='')
```

Of course, a shebang also works:

```just
hello:
#!/usr/bin/env uv run --script
print("Hello from Python!")
```

### Script Recipes

Recipes with a `[script(COMMAND)]`<sup>1.32.0</sup> attribute are run as
Expand Down

0 comments on commit bfe031f

Please sign in to comment.