All Projects → hellofresh → github-cli

hellofresh / github-cli

Licence: MIT license
A CLI Tool to automate the creation of github repositories

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to github-cli

Server
The whir.io chat server.
Stars: ✭ 15 (-16.67%)
Mutual labels:  platform
hermes-protocol
Definition of the Hermes protocol used by the Snips platform
Stars: ✭ 38 (+111.11%)
Mutual labels:  platform
notify
Send emails and text messages to your users if you work in Australian government
Stars: ✭ 15 (-16.67%)
Mutual labels:  platform
hurtrade
An Open Source Forex Trading Platform
Stars: ✭ 22 (+22.22%)
Mutual labels:  platform
actlist
📦 Actlist is a utility platform to execute your own action list easily and simply.
Stars: ✭ 85 (+372.22%)
Mutual labels:  platform
geokey
Platform for participatory mapping
Stars: ✭ 53 (+194.44%)
Mutual labels:  platform
dashd-rpc
Dash Client Library to connect to Dash Core (dashd) via RPC
Stars: ✭ 17 (-5.56%)
Mutual labels:  platform
neptune-mlflow
Neptune integration with MLflow
Stars: ✭ 27 (+50%)
Mutual labels:  platform
PetroFDS
ThePetronics Food Delivery System(PetroFDS)
Stars: ✭ 48 (+166.67%)
Mutual labels:  platform
dash-network-deploy
Tools for Dash networks deployment and testing
Stars: ✭ 17 (-5.56%)
Mutual labels:  platform
hoffnung3000
Platform for decentralized, anonymized, self-curated festivals
Stars: ✭ 27 (+50%)
Mutual labels:  platform
OpenIoT
Open source IoT platform for makers
Stars: ✭ 31 (+72.22%)
Mutual labels:  platform
openapi-generator-go
An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.
Stars: ✭ 42 (+133.33%)
Mutual labels:  platform
linkin
Linkin is a customizable self hosted link tree platform.
Stars: ✭ 62 (+244.44%)
Mutual labels:  platform
visual-layout
Visual low code platform, quick generation UI.
Stars: ✭ 66 (+266.67%)
Mutual labels:  platform
uclapi
An API for University College London, created for and by students!
Stars: ✭ 41 (+127.78%)
Mutual labels:  platform
hex
An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Stars: ✭ 48 (+166.67%)
Mutual labels:  platform
hapi-rate-limiter
No description or website provided.
Stars: ✭ 17 (-5.56%)
Mutual labels:  platform
Motoro
Smart contracts for decentralized rentals of vehicles.
Stars: ✭ 96 (+433.33%)
Mutual labels:  platform
porter
Multi-region blue-green Docker deployments and a whole lot more
Stars: ✭ 43 (+138.89%)
Mutual labels:  platform

Github CLI

Build Status Go 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 the releases 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 have github-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 our example and copy it.

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

GitHub github

GitHub needs a token 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 the sample file.

GitHub Test Org githubtestorg

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

Command Description
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 update Check for new versions of github-cli
github-cli version Prints the version information

Contributing

To start contributing, please check CONTRIBUTING.

Documentation

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].