MCPcopy Index your code
hub / github.com/commandoperator/cmdop-sdk / install

Method install

python/src/cmdop/resources/skills.py:87–90  ·  view source on GitHub ↗

Get the install payload (command, README, files, deps) for a skill.

(self, slug: str)

Source from the content-addressed store, hash-verified

85 # -- install / star ----------------------------------------------------
86
87 async def install(self, slug: str) -> SkillInstall:
88 """Get the install payload (command, README, files, deps) for a skill."""
89 req = pb.Envelope(skills_install_req=s_pb.SkillsInstallRequest(slug=slug))
90 return (await self._unary(req)).skill_install
91
92 async def star(self, slug: str) -> SkillStar:
93 req = pb.Envelope(skills_star_req=s_pb.SkillsStarRequest(slug=slug))

Callers 1

Calls 1

_unaryMethod · 0.80

Tested by 1