AppPathsFor returns the destinations for a Kind keyed by app name.
(kind Kind)
| 200 | |
| 201 | // AppPathsFor returns the destinations for a Kind keyed by app name. |
| 202 | func AppPathsFor(kind Kind) map[string]string { |
| 203 | switch kind { |
| 204 | case KindPrompt, KindInstruction: |
| 205 | return promptApps |
| 206 | case KindSkill: |
| 207 | return skillApps |
| 208 | case KindAgent: |
| 209 | return agentApps |
| 210 | case KindPlugin: |
| 211 | return pluginApps |
| 212 | } |
| 213 | return nil |
| 214 | } |
| 215 | |
| 216 | // InstallLevel identifies the scope of an instruction install. |
| 217 | type InstallLevel string |
no outgoing calls