Metadata-Version: 2.1
Name: genepy-cli
Version: 0.2
Summary: HackInScience/Genepy client.
Author-email: Julien Palard <julien@palard.fr>
License: MIT License
Project-URL: Homepage, https://framagit.org/hackinscience/genepy-cli
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8
Requires-Dist: rich
Requires-Dist: requests
Requires-Dist: websocket-client

# Genepy CLI

This is the HackInScience/Genepy command line client.

```bash
$ genepy list exercises
                    Exercises
┏━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Done ┃ Title                                   ┃
┡━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│      │ Django view                             │
│      │ Hello World                             │
│      │ Print 42                                │
│      │ Number of seconds in a year             │
│      │ Using operators                         │
└──────┴─────────────────────────────────────────┘
```

This is currently usefull mostly for teachers to download/upload exercises:

```bash
$ genepy pull --page nsi
$ tree nsi
nsi
├── distance
│   ├── check.py
│   ├── initial_solution.py
│   ├── meta
│   ├── wording_en.md
│   └── wording_fr.md
└── print-42
    ├── check.py
    ├── initial_solution.py
    ├── meta
    ├── wording_en.md
    └── wording_fr.md

3 directories, 10 files
$ genepy -v push
INFO:genepy:[fr] Uploading 'Print 42'
INFO:genepy:[en] Uploading 'Print 42'
INFO:genepy:[fr] Uploading 'Distance'
INFO:genepy:[en] Uploading 'Distance'
```
