You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
696 B
Markdown

A PyGame powered tool for quickly sorting stuff into categories
==========
This is a simple tool that will somehow present items of various types and
allow categorising them interactively.
Usage
-----
`./TODO <stuff -c category1,category2,... -o result.json [-r renderer]`
or
`./TODO -i stuff -c category1,category2,... -o result.json [-r renderer]`
The default renderer only displays the item as the text. The API for custom renderer is:
```python3
class Whatever(triditko.Renderer):
def render(itemname: str, w: int, h: int) -> pygame.Surface: ...
```
The renderer is passed as the fully qualified class name (i.e. if that code is
in file `renderers.py`, pass `renderers:Whatever`)