(cls, ctx)
| 712 | |
| 713 | @classmethod |
| 714 | def list_recipes(cls, ctx): |
| 715 | forbidden_dirs = ('__pycache__', ) |
| 716 | for recipes_dir in cls.recipe_dirs(ctx): |
| 717 | if recipes_dir and exists(recipes_dir): |
| 718 | for name in listdir(recipes_dir): |
| 719 | if name in forbidden_dirs: |
| 720 | continue |
| 721 | fn = join(recipes_dir, name) |
| 722 | if isdir(fn): |
| 723 | yield name |
| 724 | |
| 725 | @classmethod |
| 726 | def get_recipe(cls, name, ctx): |