Exemplo n.º 1
0
    def _create_template_git_project(self):
        ignorance = gitignore.src()

        with open(".gitignore", "w") as f:
            f.write(ignorance)

        mys.command("git init")
Exemplo n.º 2
0
    def main(self) -> Void:

        if self._target == "ignore" or self._target == "gitignore":
            self.write_file(".gitignore", gitignore.src())

        if self._target == "":
            pass