# parl A TUI for parliament. ## Usage ``` Usage: parl [OPTIONS] Options: -o, --output File to write passed mociones to [default: mociones.md] -c, --cache File to temporarily save and load mociones from [default: mociones.json] --editor Editor command to use (overrides $EDITOR) -h, --help Print help -V, --version Print version ``` ## Keybindings ### Items | Key | Action | |-----|--------| | `m` | New moción (opens editor) | | `e` | New enmienda to current item (opens editor) | | `E` | New enmienda sustitutiva to current item (opens editor) | | `r` | Edit current item text (opens editor) | | `R` | Edit last passed moción text (opens editor) | ### Lifecycle | Key | Action | |-----|--------| | `s` | Secundar (second) current item | | `n` | Not secundada — remove item | | `o` | Opposition declared — open voting | | `O` | No opposition — pass immediately | | `f` | Add one vote in favor | | `c` | Add one vote contra | | `v` | Enter votes manually (opens editor) | | `p` | Force pass current item | | `x` | Skip / discard current item | ### Session | Key | Action | |-----|--------| | `w` | Write passed mociones to output file | | `?` | Show help | | `q` | Write output and quit | ## Output `w` (and `q`) write all passed mociones to `mociones.md`, everytime a moción is passed, `mociones.json` gets written to (or the path set with `--output` and `--cache` respectively) as a Markdown document and JSON file with vote counts.