PluginCommand
public struct PluginCommand : ParsableCommand
Manages a plugins lifecycle and handling launch from the Stream Deck application.
-
The command’s configuration.
Declaration
Swift
public static var configuration: CommandConfiguration
-
The plugin to be used.
Declaration
Swift
public static var plugin: (any PluginDelegate.Type)?
-
The default init
Declaration
Swift
public init()
-
Add a subcommand to the plugin executable.
Declaration
Swift
public static func addCommand(_ command: ParsableCommand.Type)
Parameters
command
The additional subcommand.