Add bd config command for external integration configuration
- Add GetAllConfig/DeleteConfig methods to storage interface - Implement config set/get/list/unset subcommands with JSON support - Add comprehensive tests for config operations - Create CONFIG.md with full documentation and examples - Update README.md with config section - Support namespace conventions (jira.*, linear.*, github.*, custom.*) Closes bd-60 Amp-Thread-ID: https://ampcode.com/threads/T-33db7481-de7c-475e-b562-6afb7fb4bc7a Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -58,6 +58,8 @@ type Storage interface {
|
||||
// Config
|
||||
SetConfig(ctx context.Context, key, value string) error
|
||||
GetConfig(ctx context.Context, key string) (string, error)
|
||||
GetAllConfig(ctx context.Context) (map[string]string, error)
|
||||
DeleteConfig(ctx context.Context, key string) error
|
||||
|
||||
// Metadata (for internal state like import hashes)
|
||||
SetMetadata(ctx context.Context, key, value string) error
|
||||
|
||||
Reference in New Issue
Block a user