v0.4.0
0.4.0 is a major refactor of the frontend (CLI) focused on simplifying the UI
and code, supporting newer Go tooling (i.e. go mod), and removing external
dependencies.
Breaking Changes
- Moved CLI to
github.com/cbednarski/hostess
.go get
should now do what you probably wanted the first time. - Moved library to
github.com/cbednarski/hostess/hostess
- Many command aliases and flags have been removed
Hostlist.Enable
andHostlist.Disable
now return anerror
instead ofbool
. Check againstErrHostnameNotFound
.- Several functions will now return
ErrInvalidVersionArg
instead of panicking in that case
Improvements
- Removed
codegangsta/cli
- Removed
aff
command - Removed
del
command (userm
instead) - Removed
list
command (usels
instead) - Removed
fixed
command (just runfmt
) - Command
fix
renamed tofmt
- Removed
-s
and-q
flags. Errors are now shown always. Redirect stderr if you don't want to see them. - Removed
-f
from various commands. Usefmt
instead. - Added Go mod support
- Added AppVeyor for Windows builds
- Overhauled the Makefile for easier builds