Skip to content

Commit

Permalink
add (at)step guide
Browse files Browse the repository at this point in the history
  • Loading branch information
CheeseCake87 committed Nov 24, 2024
1 parent 9069c17 commit 612b7dd
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,20 @@ pip uninstall pyqwe-extra-dotenv

You can group commands together in a list to have one pyqwe command run multiple commands.

Grouped commands can also be run in sync / async mode. Async being the default.
Grouped commands can also be run in Step, Sync, or Async mode. Async being the default.

This will run the commands in the group in sequence, pausing for confirmation between each command:

```toml
[tool.pyqwe]
group = [
"@step",
"*:echo 'Hello, World! 1'",
"*:echo 'Hello, World! 2'",
"*:echo 'Hello, World! 3'"
]
```


This will run the commands in the group in sequence, one after the other:

Expand All @@ -258,7 +271,7 @@ group = [
]
```

Of course, you can leave out the `@sync` or `@async` to use the default async mode.
Of course, you can leave out the `@step`, `@sync` or `@async` to use the default async mode.

For example, this will also run the commands in the group in parallel:

Expand Down

0 comments on commit 612b7dd

Please sign in to comment.