aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_lua.lua
diff options
context:
space:
mode:
authorJefferson González <jgmdev@gmail.com>2025-06-27 03:48:05 -0400
committerGitHub <noreply@github.com>2025-06-27 03:48:05 -0400
commitd23c002707baec8d317cc87dcfb6dbe73e3db37a (patch)
tree3250f3ba3e1a1dc63fca18f5dd4d1e2404bf55aa /data/plugins/language_lua.lua
parentb082a9102a0b0f1616cf48eb127c84d8a933b92c (diff)
downloadpragtical-d23c002707baec8d317cc87dcfb6dbe73e3db37a.tar.gz
pragtical-d23c002707baec8d317cc87dcfb6dbe73e3db37a.zip
Add REPL and run commands to the CLI (#280)
* New basic `repl` command useful to interactively execute Lua code with access to the Pragtical API. Supports single and multiple line expressions and includes some useful (maybe) built-in commands. * New `run` command that allows executing Lua files or Lua code strings with access to the Pragtical API. * Flags and commands list help output is now padded and wrapped. * The current terminal columns width is detected for padding and wrapping. * Now only treat as files the cli unhandled arguments. * Support fetching value of single char flags when no spaces, eg: -Fvalue * Support for insensitive true or false on boolean flags. * Added new `edit` command to explicitly open a new editor instance by skipping the IPC system.
Diffstat (limited to 'data/plugins/language_lua.lua')
0 files changed, 0 insertions, 0 deletions