{"id":16396456,"url":"https://github.com/hebertzin/cli","last_synced_at":"2025-02-23T06:14:01.585Z","repository":{"id":250313915,"uuid":"833204811","full_name":"hebertzin/cli","owner":"hebertzin","description":"CLI to automate the process of creating repositories on github","archived":false,"fork":false,"pushed_at":"2024-07-27T13:36:59.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T05:07:24.580Z","etag":null,"topics":["cli-github","cobra","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hebertzin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-24T15:00:28.000Z","updated_at":"2024-07-27T13:37:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d983e5a-cc40-4a6c-aa34-b03bc22e0daf","html_url":"https://github.com/hebertzin/cli","commit_stats":null,"previous_names":["hebertsanto/cli","hebertzin/cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertzin%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertzin%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertzin%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hebertzin%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hebertzin","download_url":"https://codeload.github.com/hebertzin/cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223829274,"owners_count":17209998,"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-github","cobra","golang"],"created_at":"2024-10-11T05:07:25.722Z","updated_at":"2024-11-09T12:45:56.587Z","avatar_url":"https://github.com/hebertzin.png","language":"Go","readme":"# GitHub CLI\n\n## Overview\n\nThis project is a simple but very useful tool for automating repository creation and deletion processes on GitHub. It was built in Golang and is constantly improving. It is already very useful in my daily life.\n\n## Requirements\n\n- Go (Golang) installed on your machine.\n- A GitHub access token with appropriate permissions.\n\n## Feature\n\nWith this CLI you can automate the repository creation process, increasing the project development, as it clones the boilerplates, creates the repository, sets the main branch, and makes the first commit.\n      \n## How to use this project\n\n### 1. Install Go\n\nIf you don't already have Go installed, follow the installation instructions on the [official Go website](https://golang.org/doc/install).\n\n2 Install and compile the Project\n\n```bash\ngit clone https://github.com/hebertsanto/cli.git\ncd cli\ngo build -o cli\n```\n\n3 Move the Binary to a Directory in the PATH:\n```shell\nsudo mv cli /usr/local/bin/\n```\n\n### 4. Configure GitHub Token\n\nYou need a GitHub access token to authenticate your requests. Create a token on [GitHub](https://github.com/settings/tokens) and set the permissions required to create and delete repositories.\n\nSet the `GITHUB_TOKEN` environment variable to your token:\n\n```shell\nexport GITHUB_TOKEN=your_token_here\n````\n\n5 Check if the Environment Variable is Set:\n\n```shell\necho $GITHUB_TOKEN\n```\n6 Change variables\n\nChange the following variables with your github data\n\n![Captura de tela de 2024-07-26 09-00-23](https://github.com/user-attachments/assets/b996cbf7-62ce-4937-92a7-32e5eff6a38c)\n\n\n7 If everything is ok you can start using it directly in your terminal\n\nCreate a repo\n\n```shell\n cli create-repo [repo-name] --type node\n```\n\nDelete a repo\n\n```shell\n cli delete-repo [username] [repo-name]\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhebertzin%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhebertzin%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhebertzin%2Fcli/lists"}