Introduce a new ExtensionPoint that allows plugins or external components to subscribe to CLI execution events on the server. This would enable plugins to react to CLI commands in real-time.
Benefits:
- Provides a way to monitor CLI command executions for auditing or debugging
- Allows external plugins to react to CLI operations
- Improves extensibility and observability
Proposed Implementation:
- Introduce a new CliListener ExtensionPoint
- Fire events before and after CLI command execution
- Provide relevant metadata, such as user, command name, and execution status
Possible Use Cases:
- Enforcing custom access policies
- Implementing custom logging or metrics for CLI usage
- links to