3b39c3bc72
CI / push-validation (pull_request) Successful in 32s
CI / helm (pull_request) Successful in 39s
CI / lint (pull_request) Failing after 1m14s
CI / unit_tests (pull_request) Failing after 2m43s
CI / build (pull_request) Successful in 3m50s
CI / quality (pull_request) Successful in 4m25s
CI / security (pull_request) Successful in 4m51s
CI / typecheck (pull_request) Successful in 4m54s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / e2e_tests (pull_request) Successful in 7m6s
CI / integration_tests (pull_request) Successful in 7m56s
CI / status-check (pull_request) Failing after 5s
- 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
30 lines
1.1 KiB
Gherkin
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"
|