binq-gh

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2020 License: MIT

README

binq-gh

GitHub flavored wrapper CLI for binqry/binq.

This tool fetches latest GitHub release of a binq item and update the item JSON file.

Install

Requirements

To run this CLI, following software are needed:

  • binq command is installed

Usage

# Check & update Item JSON of binq
binq-gh path/to/item.json [-t|--token GITHUB_TOKEN] \
  [-L|--log-level LOG_LEVEL] [-y|--yes]

Refer to binqry/binq for Item JSON of binq.

If the URL format in item JSON does not match https://github.com/, binq-gh does nothing.

You can specify the path of binq command by BINQ_BIN environment variable. Otherwise, bare binq command will be invoked.

Options:

-h, --help               # Show help
-L, --log-level string   # Log level (debug,info,notice,warn,error)
-t, --token string       # GitHub API Token
-v, --version            # Show version
-y, --yes                # Update JSON file without confirmation

License

The MIT License.

Copyright (c) 2020 IKEDA Kiyoshi.

Directories

Path Synopsis
cmd
internal
cli
erron
Package erron treats errors The name "erron" means the word "erroneuos"
Package erron treats errors The name "erron" means the word "erroneuos"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL