Skip to content

Instantly share code, notes, and snippets.

@luizbranco luizbranco/main.go
Created Nov 23, 2017

Embed
What would you like to do?
promptui demo step 8
templates := promptui.SelectTemplates{
Active: `🍕 {{ .Title | cyan | bold }}`,
Inactive: ` {{ .Title | cyan }}`,
Selected: `{{ "✔" | green | bold }} {{ "Recipe" | bold }}: {{ .Title | cyan }}`,
Details: `
Ingredients:
{{ .Ingredients | truncate 80 }}`,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.