Categorygithub.com/ForgetAll/xcli
modulepackage
0.0.2
Repository: https://github.com/forgetall/xcli.git
Documentation: pkg.go.dev

# README

work flow

use cobra to build self command line tool

Usage

go get -u github.com/ForgetAll/xcli

uuid:

  • xcli uuid: generate uuid
  • xcli uuid -t/--trim: generate uuid without '-' char

rand:

  • xcli rand: generate a rand number, from 0 to 1<<63 - 1
  • xcli rand --from/-f valueFrom --to/-t valueTo: generate a rand in [from, to)
  • xcli rand --real/-r: use crypto/rand instead of math/rand to generate random nunber

Contribution

Welcome to discuss or commit pull request!

Before commit, please make sure lint and test which defined in Makefile can pass. Commit message should observe rule.

# Packages

No description provided by the author