class

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")
Source
new(name : String, sys_prompt : Config::SystemPrompt, cli : Enkaidu::Session, origin : String = "Enkaidu/Config")
Source

Instance methods

arguments
Source
description
Source
name
Source
origin
Source
render(args : Hash(String, String) | Nil = nil, profile : Env::Profile | Nil = nil) : String
Source

Nested types