Crates.io | dte |
lib.rs | dte |
version | 0.0.6 |
source | src |
created_at | 2024-04-12 12:32:49.007296 |
updated_at | 2024-10-12 11:09:02.230392 |
description | Decision table editor |
homepage | |
repository | https://github.com/DecisionToolkit/dte.git |
max_upload_size | |
id | 1206290 |
size | 35,659 |
dsntk | Decision Toolkit
Decision table editor.
Work in progress.
$ cargo install dte
Key | Action |
---|---|
CTRL + Q | Quit without saving. |
Arrow right | Move cursor one character right |
Arrow left | Move cursor one character left |
Arrow up | Move cursor one row up |
Arrow down | Move cursor one row down |
End | Move cursor to the end of the current cell |
Home | Move cursor to the beginning of the current cell |
PgUp | Move cursor to the top row of the current cell |
PgDown | Move cursor to the bottom row of the current cell |
CTRL + End | Move cursor to the end of the current row |
CTRL + Home | Move cursor to the beginning of the current row |
CTRL + PgUp | Move cursor to the top row of the current column |
CTRL + PgDown | Move cursor to the bottom row of the current column |
Backspace | Delete character before the cursor |
Delete | Delete character under the cursor |
Any character | Insert character at the cursor position |
Insert | Toggle cursor from caret to block and back |
ALT + Insert | Toggle cursor from caret to underscore and back |
┌─────────────────┐
│ Order options │
├───┬───────────┬─┴─────╥─────────────────────╥─────────────┬───────────┐
│ U │ │ ║ Order options ║ │ │
│ │ Customer │ Order ╟──────────┬──────────╢ Description │ Reference │
│ │ type │ size ║ Discount │ Priority ║ │ │
│ ├───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
│ │"Business",│ ║ │"Normal", ║ │ │
│ │"Private" │ ║ │ "High", ║ │ │
│ │ │ ║ │ "Low" ║ │ │
╞═══╪═══════════╪═══════╬══════════╪══════════╬═════════════╪═══════════╡
│ 1 │"Business" │ <10 ║ 0.10 │ "Normal" ║ Small order │ Ref 1 │
├───┼───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
│ 2 │"Business" │ >=10 ║ 0.15 │ "High" ║ Large order │ Ref 2 │
├───┼───────────┼───────╫──────────┼──────────╫─────────────┼───────────┤
│ 3 │"Private" │ - ║ 0.05 │ "Low" ║ All orders │ Ref 3 │
└───┴───────────┴───────╨──────────┴──────────╨─────────────┴───────────┘
Copy and save this decision table to any file, e.g. e.txt
and run the editor:
$ dte e.txt
Licensed under either of
at your option.
Any contributions to dte are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.