barcoder

command module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 1 Imported by: 0

README

go release

barcoder

A CLI for handling barcode related tasks

How to use

# Help command
❯ ./dist/barcoder code2img -h
generate image from code

Usage:
  barcoder code2img [flags]

Flags:
  -c, --code string     code2img (default "code")
  -e, --height int      height of output image (default 200)
  -h, --help            help for code2img
  -o, --output string   path to output image (default "qr.png")
  -t, --type string     barcode type (codabar|code128|code39|code93|datamatrix|ean|qr|twooffive) (default "qr")
  -w, --width int       width of output image (default 200)

# Generate `hello` QR code to generated/hello.png
❯ ./dist/barcoder code2img \
  --code hello \
  --output generated/hello.png \
  --height 200 \
  --width 200 \
  --type qr

Documentation

Overview

Copyright © 2022 ks6088ts

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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