| Conditions | 3 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/env python3 |
||
| 7 | def create_plugin_template(): |
||
| 8 | proj_name = sys.argv[2] |
||
| 9 | proj_path = Path(proj_name) |
||
| 10 | for directory in (f"autoload/{proj_name}", "doc", "plugin", "syntax", "tests"): |
||
| 11 | (proj_path / directory).mkdir(parents=True) |
||
| 12 | |||
| 13 | (proj_path / "doc" / f"{proj_name}.txt").touch() |
||
| 14 | |||
| 15 | for directory in ("plugin", "syntax"): |
||
| 16 | (proj_path / directory / f"{proj_name}.vim").touch() |
||
| 17 |