Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abtris/ga-badge
Github Actions Badge Generator - web and cli
https://github.com/abtris/ga-badge
badge generator github-actions
Last synced: 28 days ago
JSON representation
Github Actions Badge Generator - web and cli
- Host: GitHub
- URL: https://github.com/abtris/ga-badge
- Owner: abtris
- License: mit
- Created: 2021-03-31T06:51:57.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-13T16:09:03.000Z (3 months ago)
- Last Synced: 2024-10-17T07:18:11.265Z (3 months ago)
- Topics: badge, generator, github-actions
- Language: JavaScript
- Homepage: https://gh-actions-badge.herokuapp.com/
- Size: 888 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
[![Build Status](https://github.com/abtris/ga-badge/actions/workflows/node.js.yml/badge.svg)](https://github.com/abtris/ga-badge/actions)
# Badge Generator- naive implementation
- only for Github Actions
- no support## App
![](screenshot.png)
## CLI
### Install
```shell
brew install abtris/tap/gab
```### Usage
Help with simple one command `create`
```shell
$ gabNAME:
gab - A new cli applicationUSAGE:
gab [global options] command [command options] [arguments...]COMMANDS:
create, c Create github action badge from URL
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--help, -h show help (default: false)
```and you can use command `create` with URL
```shell
$ gab create https://github.com/abtris/ga-badge/actions/workflows/node.js.yml/badge.svg
[![Build Status](https://github.com/abtris/ga-badge/actions/workflows/node.js.yml/badge.svg)](https://github.com/abtris/ga-badge/actions)
```or specify more options
```shell
$ gab help create
NAME:
gab create - Create github action badge from URLUSAGE:
gab create [command options] [arguments...]OPTIONS:
--url value, -u value
--branch value, -b value (default: "master")
--label value, -l value (default: "Build Status")
```second command make fast init template for my used templates stored in `cli/templates`.
```shell
$ gab help init
NAME:
main init - Create github workflow fileUSAGE:
main init [command options] [arguments...]OPTIONS:
--lang value, -l value (default: "node.js")
```