(f *cmdutil.Factory)
| 17 | ) |
| 18 | |
| 19 | func newReader(f *cmdutil.Factory) (*skillcontent.Reader, error) { |
| 20 | if f.SkillContent == nil { |
| 21 | return nil, errs.NewInternalError(errs.SubtypeFileIO, |
| 22 | "skill content not embedded in this build") |
| 23 | } |
| 24 | return skillcontent.New(f.SkillContent), nil |
| 25 | } |
| 26 | |
| 27 | type readEnvelope struct { |
| 28 | Skill string `json:"skill"` |
no test coverage detected