list_skills#
- ansys.mapdl.core.cli.skills.list_skills(skills_dir=None)#
List the skills bundled with this PyMAPDL installation.
- Parameters:
- skills_dir
pathlib.Path,optional Directory holding one sub-directory per skill. Defaults to the directory bundled with the package.
- skills_dir
- Returns:
listofSkillInfoAvailable skills, sorted by directory name. Empty when no skill is bundled.
- Return type:
List[SkillInfo]
Examples
Print the name of every bundled skill:
>>> from ansys.mapdl.core.cli.skills import list_skills >>> [skill.name for skill in list_skills()] ['pymapdl-cli']