semmy

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

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

Go to latest
Published: May 20, 2017 License: MIT Imports: 1 Imported by: 0

README

semmy: Semantic Versions from the Command Line

Get the software

Here you have two options. If you just want to run it:

$> go get github.com/technodabble/semmy

But, if you want to develop it, clone it from github:

$> cd $GOPATH
$> mkdir -p src/github.com/technodabble
$> cd src/github.com/technodabble
$> git clone [email protected]:technodabble/semmy.git

To install it:

go get -u github.com/kardianos/govendor
govendor sync github.com/technodabble/semmy
go install github.com/technodabble/semmy

To run it:

semmy check range [version]

range is as documented here.

version is a Semantic Version If it's omitted, it will be read from the first line of STDIN

Examples
$> semmy check '>1.0.10 <3.0.4' 2.4.5-alpha.13+10211979
2.4.5-alpha.13+10211979 is in the range: >1.0.10 <3.0.4

$> echo $?
0

$> echo 3.5.6 | semmy check '>1.0.10 <3.0.4'
3.5.6 is NOT in the range: >1.0.10 <3.0.4

$> echo $?
1

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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