package wiki import ( "strings" ice "shylinux.com/x/icebergs" "shylinux.com/x/icebergs/base/ssh" kit "shylinux.com/x/toolkits" ) func _spark_show(m *ice.Message, name, text string, arg ...string) { if name == "" { _wiki_template(m, SPARK, name, text, arg...) return } prompt := kit.Select(name+"> ", m.Conf(SPARK, kit.Keym(ssh.PROMPT, name))) m.Echo(`
{{.Option "text"}}
`, ssh.PROMPT, kit.Dict("shell", "$ "), )}, }, }) }