Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 6, 2025. It is now read-only.
/github-cliPublic archive

A CLI Tool to automate the creation of github repositories

License

NotificationsYou must be signed in to change notification settings

hellofresh/github-cli

Repository files navigation

Build StatusGo Report Card

A CLI Tool to automate the creation of github repositories

This is a simple, CLI tool that helps you to create github repositories.It adds all required integrations, teams, webhooks, etc.. all based on a configuration file that you define.

Installation

You can get the binary and play with it in your own environment (or even deploy it wherever you like it).Just go thereleases and download the latest one for your platform.

Move the downloaded binary to any place that's in your$PATH, usually you would add it to the local bin:

$ mv ~/Downloads/github-cli /usr/local/bin/github-cli$ chmod +x /usr/local/bin/github-cli

Getting Started

After you havegithub-cli up and running we can create our first repository.First of all we have to create a configuration file that will customise how our repositories will be created. You can have a look at ourexample and copy it.

You will need to fill in the following values to be able to create a repo:

GitHubgithub

GitHub needs atoken with repo access. You can add additional collaborators and/or teams, the teams are defined by ID and the ID can be found with this simple cURL:

$ curl -s -i -X GET -u TOKEN:x-oauth-basic -d '' https://api.github.com/orgs/hellofresh/teams | grep -A1 "TEAM_NAME"

Check out descriptions on the other config values in thesample file.

GitHub Test Orggithubtestorg

This is used for creating GitHub tests. This just needs a GitHub token with repo access.

Finalising the file

You can either write this file to be next to the binary or add it to~/.github.toml, we recommend the latter!

Usage

github-cli [command] [--flags]

Commands

CommandDescription
github-cli repo create [--flags]Creates a new github repository
github-cli repo delete [--flags]Deletes a github repository
github-cli hiring send [--flags]Creates a new hellofresh hiring test
github-cli hiring unseat [--flags]Removes external collaborators from repositories
github-cli updateCheck for new versions of github-cli
github-cli versionPrints the version information

Contributing

To start contributing, please checkCONTRIBUTING.

Documentation

About

A CLI Tool to automate the creation of github repositories

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors13


[8]ページ先頭

©2009-2025 Movatter.jp