/gogs-bash

Bash Script for Interacting with the GOGS API

Primary LanguageShellMIT LicenseMIT

gogs-bash

Interact with the GOGS API from bash.

Create repositories and manage webooks.

Setup:

Set the following environment variables:

Usage:

$ ./gogs
./gogs is a tool for interacting with the GOGS API.

Usage:
    ./gogs command [arguments]

The commands are:

    create-repo     create a repository
    create-webhook  create a webhook
    delete-webhook  delete a webhook
    env             print environment information
    get-repos       get a list of repos by search keyword
    get-user-repos  get a list of repos for a user
    get-users       get a list of users by search keyword
    get-webhooks    get a list of webhooks for a repo

Use "./gogs help [command]" for more information about a command.