UNPKG

@softwareventures/maintain-project

Version:

Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited

9 lines 315 B
import { simpleGit } from "simple-git"; import { failure, success } from "../result/result.js"; export async function gitInit(project) { return simpleGit(project.path) .init() .then(() => success()) .catch(() => failure([{ type: "git-init-failed" }])); } //# sourceMappingURL=init.js.map