All Projects → genuinetools → Pepper

genuinetools / Pepper

Licence: mit
A tool for performing actions on GitHub repos or a single repo.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Pepper

Corber
CLI for building hybrid apps with Ember/Vue/Glimmer/Cordova
Stars: ✭ 327 (-4.39%)
Mutual labels:  cli
Sandy
A tiny "sandbox" to run untrusted code 🏖️
Stars: ✭ 335 (-2.05%)
Mutual labels:  cli
Xidel
Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
Stars: ✭ 335 (-2.05%)
Mutual labels:  cli
Nord Dircolors
An arctic, north-bluish clean and elegant dircolors theme.
Stars: ✭ 328 (-4.09%)
Mutual labels:  cli
Jet
CLI to transform between JSON, EDN and Transit, powered with a minimal query language.
Stars: ✭ 331 (-3.22%)
Mutual labels:  cli
Meteor Now
Instantly deploy your Meteor apps with `meteor-now`
Stars: ✭ 339 (-0.88%)
Mutual labels:  cli
Pkg
Package your Node.js project into an executable
Stars: ✭ 19,349 (+5557.6%)
Mutual labels:  cli
Cmd2
cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
Stars: ✭ 342 (+0%)
Mutual labels:  cli
Typeorm Fixtures
💊 Fixtures loader for typeorm
Stars: ✭ 330 (-3.51%)
Mutual labels:  cli
Jwt Cli
A super fast CLI tool to decode and encode JWTs built in Rust
Stars: ✭ 336 (-1.75%)
Mutual labels:  cli
Ack3
ack is a grep-like search tool optimized for source code.
Stars: ✭ 330 (-3.51%)
Mutual labels:  cli
Create Dmg
Create a good-looking DMG for your macOS app in seconds
Stars: ✭ 3,494 (+921.64%)
Mutual labels:  cli
Stup
Daily notes in the terminal 🐧
Stars: ✭ 340 (-0.58%)
Mutual labels:  cli
Go Tea
Tea provides an Elm inspired functional framework for interactive command-line programs.
Stars: ✭ 329 (-3.8%)
Mutual labels:  cli
Stargazed
📋 Creating your own Awesome List of GitHub stars!
Stars: ✭ 339 (-0.88%)
Mutual labels:  cli
Tqdm
A Fast, Extensible Progress Bar for Python and CLI
Stars: ✭ 20,632 (+5932.75%)
Mutual labels:  cli
Audit
For auditing what collaborators, hooks, and deploy keys you have added on all your GitHub repositories.
Stars: ✭ 335 (-2.05%)
Mutual labels:  cli
Landscaper
Deprecated. Takes a set of Helm Chart references with values (a desired state), and realizes this in a Kubernetes cluster
Stars: ✭ 342 (+0%)
Mutual labels:  cli
Anon
A UNIX Command To Anonymise Data
Stars: ✭ 341 (-0.29%)
Mutual labels:  cli
Ui5 Tooling
An open and modular toolchain to develop state of the art applications based on the UI5 framework
Stars: ✭ 339 (-0.88%)
Mutual labels:  cli

pepper

make-all make-image GoDoc Github All Releases

Named after Pepper Potts. A tool for performing actions on GitHub repos or a single repo.

Actions include:

You can set which orgs to include and use --dry-run to see the changes before they are actually made. Your user is automatically added to the repositories it will consider.

Also see genuinetools/audit for checking what collaborators, hooks, deploy keys, and protected branched you have added on all your GitHub repositories.

Table of Contents

Table of Contents

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/genuinetools/pepper

Usage

$ pepper -h
pepper -  A tool for performing actions on GitHub repos or a single repo.

Usage: pepper <command>

Flags:

  -d, --debug  enable debug logging (default: false)
  --dry-run    do not change settings just print the changes that would occur (default: false)
  --nouser     do not include your user (default: false)
  --orgs       organizations to include (default: [])
  -r, --repo   specific repo (e.g. 'genuinetools/img') (default: <none>)
  -t, --token  GitHub API token (or env var GITHUB_TOKEN) (default: <none>)
  -u, --url    GitHub Enterprise URL (default: <none>)

Commands:

  audit          Audit collaborators, branches, hooks, deploy keys etc.
  collaborators  Add a collaborator to all the repositories.
  merge          Update all merge settings to allow specific types only.
  protect        Protect the master branch.
  release        Update the release body information.
  version        Show the version information.

Protect

Protect all master branches.

$ pepper protect --dry-run --token 12345 --orgs jessconf --orgs maintainerati
[OK] jessconf/jessconf:master is already protected
[OK] genuinetools/.vim:master is already protected
[OK] genuinetools/anonymail:master is already protected
[OK] genuinetools/apk-file:master is already protected
[UPDATE] genuinetools/certok:master will be changed to protected
...
[OK] genuinetools/weather:master is already protected
[OK] genuinetools/ykpiv:master is already protected
[OK] maintainerati/wontfix-cabal-site:master is already protected

Audit

Audit collaborators, branches, hooks, deploy keys etc.

$ pepper audit -r genuinetools/img
genuinetools/img -> 
        Collaborators (7):
                Admin (2):
                        jessfraz
                        j3ssb0t
                Write (5):
                        bketelsen
                        gabrtv
                        bacongobbler
                        sajayantony
                        AkihiroSuda
                Read (0):

        Hooks (4):
                travis - active:true (https://api.github.com/repos/genuinetools/img/hooks/22351842)
                jenkins - active:true (https://api.github.com/repos/genuinetools/img/hooks/22351967)
                web - active:true (https://api.github.com/repos/genuinetools/img/hooks/38652766)
                web - active:true (https://api.github.com/repos/genuinetools/img/hooks/38654028)
        Protected Branches (1): master
        Merge Methods: squash

Collaborators

Add a collaborator to all the repositories.

$ pepper collaborators -h
Usage: pepper collaborators [OPTIONS] COLLABORATOR

Add a collaborator to all the repositories.

Flags:

  --admin      Team members can pull, push and administer this repository (default: false)
  -d, --debug  enable debug logging (default: false)
  --dry-run    do not change settings just print the changes that would occur (default: false)
  --nouser     do not include your user (default: false)
  --orgs       organizations to include (default: [])
  --pull       Team members can pull, but not push to or administer this repository (default: false)
  --push       Team members can pull and push, but not administer this repository (default: false)
  -r, --repo   specific repo (e.g. 'genuinetools/img') (default: <none>)
  -t, --token  GitHub API token (or env var GITHUB_TOKEN) (default: <none>)
  -u, --url    GitHub Enterprise URL (default: <none>)
$ pepper collaborators --dry-run --admin j3ssb0t
...t 
[UPDATE] jessfraz/blog will have j3ssb0t added as a collaborator (admin)
[UPDATE] jessfraz/bolt will have j3ssb0t added as a collaborator (admin)
[UPDATE] jessfraz/boulder will have j3ssb0t added as a collaborator (admin)
[UPDATE] jessfraz/buildkit will have j3ssb0t added as a collaborator (admin)
[UPDATE] jessfraz/cadvisor will have j3ssb0t added as a collaborator (admin)
...

Merge

Update all merge settings to allow specific types only.

$ pepper merge -h
Usage: pepper merge [OPTIONS]

Update all merge settings to allow specific types only.

Flags:

  --commits    Allow merge commits, add all commits from the head branch to the base branch with a merge commit (default: false)
  -d, --debug  enable debug logging (default: false)
  --dry-run    do not change settings just print the changes that would occur (default: false)
  --nouser     do not include your user (default: false)
  --orgs       organizations to include (default: [])
  -r, --repo   specific repo (e.g. 'genuinetools/img') (default: <none>)
  --rebase     Allow rebase merging, add all commits from the head branch onto the base branch individually (default: false)
  --squash     Allow squash merging, combine all commits from the head branch into a single commit in the base branch (default: false)
  -t, --token  GitHub API token (or env var GITHUB_TOKEN) (default: <none>)
  -u, --url    GitHub Enterprise URL (default: <none>)
$ pepper merge --dry-run --squash
UPDATE] jessfraz/.vim will be changed to squash
[OK] jessfraz/1up is already set to squash
[UPDATE] jessfraz/acs-engine will be changed to squash
[UPDATE] jessfraz/acs-ignite-demos will be changed to squash
[UPDATE] jessfraz/apparmor-docs will be changed to squash
[UPDATE] jessfraz/baselayout will be changed to squash
...

Update Release

Update the release body according to the template.

$ pepper release --repo genuinetools/img
Updated release v0.5.0/v0.5.0 for repo: genuinetools/img
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].