Skip to main content

Module plugin

Module plugin 

Source
Expand description

CLI plugin management: par-term plugin add|update|remove.

Prompt-confirm-execute-report wrappers around the headless git layer in par_term_scripting::plugin_git, which owns every git invocation. The prompts are the procedural half of the plugin trust model: add warns before cloning anything, and update shows a diff before fast-forwarding, so no upstream code lands without the user seeing it happen. Like super::install, these subcommands run and exit before the application starts, which is why blocking stdin reads are safe here.

Enums§

PluginCommands
par-term plugin <command> — see Commands::Plugin in super.

Functions§

plugin_add_cli
par-term plugin add <url>
plugin_remove_cli
par-term plugin remove <id>
plugin_update_cli
par-term plugin update [id]