Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ks6088ts/barcoder
A CLI for handling barcode related tasks
https://github.com/ks6088ts/barcoder
barcode-generator cobra golang
Last synced: 10 days ago
JSON representation
A CLI for handling barcode related tasks
- Host: GitHub
- URL: https://github.com/ks6088ts/barcoder
- Owner: ks6088ts
- License: mit
- Created: 2022-07-14T22:53:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T03:06:10.000Z (5 months ago)
- Last Synced: 2024-10-12T06:14:24.927Z (27 days ago)
- Topics: barcode-generator, cobra, golang
- Language: Go
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![go](https://github.com/ks6088ts/barcoder/workflows/go/badge.svg)](https://github.com/ks6088ts/barcoder/actions/workflows/go.yml)
[![release](https://github.com/ks6088ts/barcoder/workflows/release/badge.svg)](https://github.com/ks6088ts/barcoder/actions/workflows/release.yml)# barcoder
A CLI for handling barcode related tasks
## How to use
```bash
# Help command
❯ ./dist/barcoder code2img -h
generate image from codeUsage:
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
```