codeline
codeline copied to clipboard
Run context-aware commands from your source code comments
Perhaps this could be a generic `unix` plugin which wraps `subprocess.run` and handles errors/results appropriately.
Currently we are catching a SystemExit, which is bad
Protecting user data is paramount
[Feature] Codeline should introspect on plugins to determine subcommands and, if possible, arguments
For example, in the `git` plugin, `Plugin.commit(context: Context, message: str = None" could be introspected to construct an `ArgumentParser` with the subcommand `git` and `--message`/`-m` as an argument.