Skip to content

Commit

Permalink
Update submit section
Browse files Browse the repository at this point in the history
  • Loading branch information
hjaremko committed Oct 28, 2021
1 parent d33b871 commit 323f765
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ baca refresh

### Submit: `submit`

Submit file to task given by its id. Use `baca tasks` to see what ids are available.
Submits given file to specified task. Will prompt the user for task, if not provided.

- Optional parameter `--task <id>` explicitly sets problem to submit to. Use `baca tasks` to see what ids are available.
- Optional parameter `--zip` will zip given file before submitting. The archive is saved as **`source.zip`**.
- Optional parameter `--rename` will rename file before submitting and zipping.
- Optional parameter `--language` explicitly sets input file language.
- Optional parameter `--language <language>` explicitly sets input file language.
- `submit config` opens editor to edit submit config.
- `submit clear` clears saved submit config.

Expand All @@ -98,8 +99,8 @@ baca submit -t <task_id> -f <filename> [optional -l <language>] [optional --zip]
Example:

```
> baca submit -f hello.cpp -t 5
> baca submit -f hello.cpp
✔ Choose task: · [E] Metoda SOR
Submitting hello.cpp to task [E] Metoda SOR (C++ with file support).
```

Expand Down

0 comments on commit 323f765

Please sign in to comment.