Skip to content

Commit

Permalink
Merge pull request #188 from kasiopea-org/cli-rework
Browse files Browse the repository at this point in the history
Rework CLI
  • Loading branch information
5K1PY authored Jul 8, 2024
2 parents 00d2d43 + 56b3120 commit 73050f7
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 201 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can also reference the examples for
and [CMS mode](https://github.com/kasiopea-org/pisek/blob/master/fixtures/sum_cms/config).

```bash
pisek
pisek test
```

This command tests the task in the current directory.
Expand Down Expand Up @@ -78,22 +78,22 @@ pisek test generator

Test all solutions, don't stop on first failure:
```bash
pisek --full
pisek test --full
```

Test each solution on all inputs, even when the result is clear:
```bash
pisek --all-inputs
pisek test --all-inputs
```

Use a different time limit (in seconds) for testing solutions:
```bash
pisek --timeout 5
pisek test --timeout 5
```

Interpret warnings as failures (for a final check):
```bash
pisek --strict
pisek test --strict
```

### Cleaning
Expand All @@ -107,7 +107,7 @@ pisek clean

For visualizing the running time for each solution and testcase:
```bash
pisek --testing-log # test the task
pisek test --testing-log # test the task
pisek visualize # visualize
```

Expand Down
Loading

0 comments on commit 73050f7

Please sign in to comment.