A very simple text expander. Kind of like espanso but worse in every way.
Usage: shortie <COMMAND>
Commands:
start Start shortie-daemon
stop Stop shortie-daemon
reload Reload shortie-daemon
status See status of shortie-daemon
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print helpUsage: shortie start [OPTIONS]
Options:
-c, --config <CONFIG> Path to the directory containing .yaml config files
-p, --pid <PID> Path to the directory containing temporary .pid file
-h, --help Print help
Usage: shortied --config <CONFIG>
Options:
-c, --config <CONFIG> Path to the directory containing .yaml config files
-h, --help Print helpembed <FILE_PATH>now <FORMAT?>var <NAME>
.config/shortie/config.yaml (supports multiple config files)
prefix: ";"
vars:
- name: "name"
value: "Max"
shorts:
- name: "l3"
content: "localhost:3000"
- name: "l4"
content: "localhost:4321"
- name: "l5"
content: "localhost:5173"
- name: "git"
content: "https://github.com"
enter: true
- name: "time"
content: "{now %H:%M:%S}"
- name: "em1"
content: "{embed ./templates/email_1.txt}"
- name: "intro"
content: "{var start} {var name}"
vars:
- name: "start"
value: "My name is"
shortie start;l3 -> localhost:3000
;l4 -> localhost:4321
;l5 -> localhost:5173
