Files
cleveragents-core/features/cli/plugin_cli.feature
T
HAL9000 14f134a463 feat(plugins): implement agents plugin CLI subcommand group and built-in plugin discovery
- Implement plugin CLI subcommand group with list, show, enable, disable, install, remove commands
- Add JSON/YAML output format support for all plugin commands
- Create Behave BDD tests for plugin CLI functionality
- Full type annotations and pyright compliance
- Supports plugin state management (ACTIVATED, DEACTIVATED, DISCOVERED, ERRORED)

Closes #5756
2026-06-15 06:36:16 -04:00

30 lines
1.1 KiB
Gherkin

Feature: Plugin CLI Commands
As a user
I want to manage plugins through the CLI
So that I can list, enable, disable, and manage plugins
Scenario: List plugins when none are installed
When I run "agents plugin list"
Then the output should contain "No plugins found"
Scenario: Show plugin details
Given a plugin named "test-plugin" is registered
When I run "agents plugin show test-plugin"
Then the output should contain "test-plugin"
Scenario: Enable a plugin
Given a plugin named "test-plugin" is registered but disabled
When I run "agents plugin enable test-plugin"
Then the output should contain "Enabled plugin"
Scenario: Disable a plugin
Given a plugin named "test-plugin" is registered and enabled
When I run "agents plugin disable test-plugin"
Then the output should contain "Disabled plugin"
Scenario: List plugins with JSON output
Given a plugin named "test-plugin" is registered
When I run "agents plugin list --format json"
Then the output should be valid JSON
And the JSON should contain a plugin named "test-plugin"