Enkaidu::TemplatePrompt
Inherits Reference < Object
Defines a templated prompt that can be invoked with arguments as well as system and profile properties.
- Arguments are available with the
arg.prefix - Profile variables are available with the
var.prefix - System properties are available via the
sys.prefix
Constructors
new(name : String, prompt : Config::Prompt, cli : Enkaidu::Session, origin : String = "Enkaidu/Config")
Sourcenew(name : String, sys_prompt : Config::SystemPrompt, cli : Enkaidu::Session, origin : String = "Enkaidu/Config")
SourceInstance methods
arguments
Sourcedescription
Sourcename
Sourceorigin
Sourcerender(args : Hash(String, String) | Nil = nil, profile : Env::Profile | Nil = nil) : String
Source