Expand description
Utility functions and helpers for plugin development
This module provides common utilities that plugin developers can use to simplify their implementations.
Functionsยง
- compare_
versions - Compare two version strings
- create_
version_ info - Create a VersionInfo from a simple version string
- find_
executable_ in_ dir - Find an executable in a directory
- get_
exe_ extension - Get the platform-specific executable extension
- get_
exe_ name - Get the platform-specific executable name
- get_
plugins_ dir - Get the plugins directory
- get_
tools_ dir - Get the tools directory
- get_
vx_ dir - Get the default vx directory
- is_
command_ available - Check if a command is available in the system PATH
- is_
executable - Check if a path exists and is executable
- is_
prerelease - Check if a version is a prerelease
- parse_
version - Parse version string into components
- sort_
versions_ desc - Sort versions in descending order (newest first)
- validate_
tool_ name - Validate a tool name
- validate_
version - Validate a version string