show_skill#
- ansys.mapdl.core.cli.skills.show_skill(skill_name, skills_dir=None)#
Return the full
SKILL.mdcontent of a bundled skill.- Parameters:
- skill_name
str Skill identifier, as reported by
list_skills().- skills_dir
pathlib.Path,optional Directory holding one sub-directory per skill. Defaults to the directory bundled with the package.
- skill_name
- Returns:
strContent of the
SKILL.mdfile, frontmatter included.
- Raises:
UnknownSkillErrorWhen skill_name is not bundled with PyMAPDL.
- Return type:
Examples
>>> from ansys.mapdl.core.cli.skills import show_skill >>> print(show_skill("pymapdl-cli"))