gyazo

command module
v0.0.0-...-adce118 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: MIT Imports: 16 Imported by: 0

README

gyazo

This is CLI for Gyazo

Supported OS

  • Mac
  • Windows
  • Linux

Features

  • upload image file from clipboard
  • generate markdown link

Requirements

  • xclip (only linux)
  • file (only linux)

Installtion

  1. Install this CLI

    $ git clone https://github.com/skanehira/gyazo
    $ cd gyazo && go install
    
  2. Register application and get your token from here and set it

    # set environment
    export GYAZO_TOKEN = XXXXXXXXXXXXXXX
    
    # or set $HOME/.gyazo_token
    echo "XXXXXXXXXX" > $HOME/.gyazo_token
    

Usage

$ gyazo -h
gyazo - Gyazo CLI

VERSION: 0.0.1

USAGE:
  $ gyazo [-c] [-m] [<] [file]

DESCRIPTION:
  -c    upload image from clipboard
  -m    generate markdown link

EXAMPLE:
  $ gyazo < image.png
  $ cat image.png | gyazo
  $ gyazo -m image.png
  $ gyazo -c -m

Author

skanehira

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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