lgotm

command module
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 5 Imported by: 0

README

GitHub Workflow Status Release

lgotm

lgotm is a command for generation LGTM image and generated image is copied to clipboard.

Installation

Homebrew
# tap and install
brew tap johnmanjiro13/tap
brew install lgotm

# install directory
brew install johnmanjiro13/tap/lgotm
go get
go get github.com/johnmanjiro13/lgotm
go install (requires Go1.16+)
go install github.com/johnmanjiro13/lgotm@latest

Usage

lgotm query <query>

lgotm query searches images by Google Custom Search API. Therefore, you need to get api key and engine id of custom search api.

Configuration

lgotm can be customized with a configuration file. The location of the file is $HOME/.config/lgotm/config by default.

A default configuration file can be created with the generate_config_file sub sommand.

lgotm generate_config_file

Also, lgotm can be customized with environment variables instead of the file like below.

API_KEY=<your-api-key> ENGINE_ID=<your-engine-id> lgotm query <query>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
mock_cmd
Package mock_cmd is a generated GoMock package.
Package mock_cmd is a generated GoMock package.

Jump to

Keyboard shortcuts

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