Commit Graph

6 Commits (master)

Author SHA1 Message Date
Chris Bednarski 168ef0ce47 Update to fmt -n (preview) behavior
- Fixing -n not being parsed by CLI
- fmt -n will error on any duplicates or conflicts
- fmt (without -n) will NOT error on duplicates; it will simply replace them
- fmt (without -n) WILL error on conflicts, since it does not know how to fix them
- fmt will exit 1 when an error state is reached
4 years ago
Chris Bednarski 0e15ef497a Added test for issue #39 4 years ago
Chris Bednarski 9c247955f6 go fmt 4 years ago
Chris Bednarski c53f06fdc8 Moved commands from commands package to root 4 years ago
Chris Bednarski 66670942dd Started major refactor for 0.5.0
- Rewrite CLI to use flag package instead of codegangsta/cli
- Move lib to hostess/ and move main.go to project root
- Change some of the hostess API to return errors instead of panicking
- Remove aff, del, and list commands
- Remove -s and -q flags
4 years ago
Chris Bednarski 35413097c7 Add test hosts file and basic test for Ls command; fix ls panic 8 years ago