Skip to content

mattddowney/gogs-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.