Module: OC::OLLAMA::CHAT::TOOLS::JIRA

Defined in:
lib/ollama_chat/oc.rb

Constant Summary collapse

URL =
set do
  description 'Base URL for Jira instance'
  sensitive   true
  decode { URI.parse(_1) if _1.present? }
  check { value.blank? || value.scheme == 'https' }
end
USER =
set do
  description 'Username for Jira authentication'
  sensitive   true
  required { OC::OLLAMA::CHAT::TOOLS::JIRA::URL? }
end
API_TOKEN =
set do
  description 'API token for Jira authentication'
  sensitive   true
  required { OC::OLLAMA::CHAT::TOOLS::JIRA::URL? }
end
TWG =
set do
  description 'Path to the twg CLI binary'
  default { `which 2>/dev/null twg`.full?(:chomp) }
end