class AmberCLI::Native::CapabilityManifest::AppShortcutSpec

Included Modules

Defined in:

amber_cli/native/capability_manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(title : String = "", identifier : String = "", subtitle : String | Nil = nil, summary : String | Nil = nil, icon : String | Nil = nil, phrases : Array(String) = [] of String, parameters : Array(AppShortcutParameterSpec) = [] of AppShortcutParameterSpec, is_enabled : Bool = true, is_discoverable : Bool = true) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def icon : String | Nil #

[View source]
def icon=(icon : String | Nil) #

[View source]
def identifier : String #

[View source]
def identifier=(identifier : String) #

[View source]
def is_discoverable : Bool #

[View source]
def is_discoverable=(is_discoverable : Bool) #

[View source]
def is_enabled : Bool #

[View source]
def is_enabled=(is_enabled : Bool) #

[View source]
def parameters : Array(AppShortcutParameterSpec) #

[View source]
def parameters=(parameters : Array(AppShortcutParameterSpec)) #

[View source]
def phrases : Array(String) #

[View source]
def phrases=(phrases : Array(String)) #

[View source]
def resolved_identifier : String #

[View source]
def subtitle : String | Nil #

[View source]
def subtitle=(subtitle : String | Nil) #

[View source]
def summary : String | Nil #

[View source]
def summary=(summary : String | Nil) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
def validate! : self #

[View source]