{"id":17001623,"url":"https://github.com/shresht7/gh-gitignore","last_synced_at":"2025-03-22T08:48:24.365Z","repository":{"id":103221499,"uuid":"591919017","full_name":"Shresht7/gh-gitignore","owner":"Shresht7","description":"A GitHub CLI extension to generate .gitignore files 📄","archived":false,"fork":false,"pushed_at":"2024-02-13T08:47:30.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T09:09:36.586Z","etag":null,"topics":["cli","gh-extension","gitignore"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shresht7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-22T10:53:27.000Z","updated_at":"2023-04-02T07:42:51.000Z","dependencies_parsed_at":"2024-06-21T17:47:04.099Z","dependency_job_id":"7cf6ac77-3ac4-4a99-84b8-1b53030d7373","html_url":"https://github.com/Shresht7/gh-gitignore","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fgh-gitignore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fgh-gitignore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fgh-gitignore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shresht7%2Fgh-gitignore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shresht7","download_url":"https://codeload.github.com/Shresht7/gh-gitignore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244931586,"owners_count":20534010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","gh-extension","gitignore"],"created_at":"2024-10-14T04:25:34.428Z","updated_at":"2025-03-22T08:48:24.342Z","avatar_url":"https://github.com/Shresht7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `gh-gitignore`\n\nA GitHub CLI extension to generate `.gitignore` files.\n\nThe `.gitignore` templates are obtained from the GitHub API (https://docs.github.com/en/rest/gitignore).\n\n---\n\n## 📦 Installation\n\n### Requirements\n\n- [GitHub CLI](https://cli.github.com/)\n\n### Install\n\n```sh\ngh extension install Shresht7/gh-gitignore\n```\n\n---\n\n## 💻 Usage\n\nInvoke the cli extension like so:\n\n```sh\ngh gitignore \u003ccommand\u003e\n```\n\nTo create a gitignore file:\n\n```sh\ngh gitignore create Node\n```\n\n![Usage Demonstration](docs/demo.gif)\n\n\u003cdiv align=\"right\"\u003e\n\n[⬆️ Back to top][top]\n\n\u003c/div\u003e\n\n## ⌨️ Commands\n\n\n### `create`\n\nCreate a gitignore file\n\n#### Alias\n\n`new`, `add`, `init`, `clone`\n\n#### Usage\n\n```sh\ngh-gitignore create [flags]\n```\n\n#### Flags\n\n| Flag              | Type     | Description                       | Default    |\n| ----------------- | -------- | --------------------------------- | ---------- |\n| `--dest, -d`      | `string` | Destination of the gitignore file | .gitignore |\n| `--overwrite, -o` | `bool`   | Overwrite the gitignore file      | false      |\n\n#### Examples\n\n```sh\n  gh gitignore create Go\n  gh gitignore init Go Python\n  gh gitignore create Go Python -d .gitignore\n```\n\n\u003cdiv align=\"right\"\u003e\n\n[⬆️ Back to top][top]\n\n\u003c/div\u003e\n\n\n### `list`\n\nLists all gitignore templates\n\n\n\n#### Usage\n\n```sh\ngh-gitignore list\n```\n\n\n\n#### Examples\n\n```sh\n  gh gitignore list\n```\n\n\u003cdiv align=\"right\"\u003e\n\n[⬆️ Back to top][top]\n\n\u003c/div\u003e\n\n\n### `view`\n\nView a gitignore file\n\n#### Alias\n\n`show`, `get`\n\n#### Usage\n\n```sh\ngh-gitignore view\n```\n\n\n\n#### Examples\n\n```sh\n  gh gitignore view Go\n  gh gitignore view Go Python\n```\n\n\u003cdiv align=\"right\"\u003e\n\n[⬆️ Back to top][top]\n\n\u003c/div\u003e\n\n\n\n---\n\n## 📜 License\n\nThis software is licensed under the [MIT License](). See the [LICENSE](./LICENSE) file for details.\n\n\n\n\n\n[top]: #gh-gitignore\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshresht7%2Fgh-gitignore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshresht7%2Fgh-gitignore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshresht7%2Fgh-gitignore/lists"}