Expand description
Vanguard Plugin SDK
This crate provides tools and utilities for developing Vanguard plugins. It includes macros and helper functions to make plugin development easier and safer.
Re-exports§
pub use command::Command;pub use command::CommandContext;pub use command::CommandHandler;pub use command::CommandResult;pub use command::VanguardCommand;
Modules§
Macros§
- command_
handler - Helper macro for implementing CommandHandler trait
- plugin
- Helper macro for implementing the VanguardPlugin trait
- plugin_
config - Helper macro for implementing plugin configuration
Structs§
- Metadata
Builder - Helper struct for building plugin metadata
- Plugin
Metadata - Metadata for a Vanguard plugin
- Plugin
Options - Options for plugin generation
Enums§
- Plugin
Error - Errors that can occur during plugin development
- Template
Error - Plugin template generation errors
- Validation
Result - Result of plugin validation
Traits§
- Plugin
Metadata Builder - Helper trait for building plugin metadata
- Vanguard
Plugin - Trait that must be implemented by all Vanguard plugins
Functions§
- generate_
plugin - Generate a new plugin from a template
- metadata
- Creates a new plugin metadata builder
Type Aliases§
- Plugin
Result - Result type for plugin operations
- Template
Result - Result type for template operations