A TUI for parliament
0

Configure Feed

Select the types of activity you want to include in your feed.

Rust 100.0%
4 1 0

Clone this repository

https://tangled.org/stau.space/parl https://tangled.org/did:plc:5lobwr5kc4ctm7cyszyq7lnc
git@tangled.org:stau.space/parl git@tangled.org:did:plc:5lobwr5kc4ctm7cyszyq7lnc

For self-hosted knots, clone URLs may differ based on your setup.



README.md

parl#

A TUI for parliament.

Usage#

Usage: parl [OPTIONS]

Options:
  -o, --output <OUTPUT>  File to write passed mociones to [default: mociones.md]
  -c, --cache <FILE>    File to temporarily save and load mociones from [default: mociones.json]
      --editor <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.