Commit Graph

37 Commits

Author SHA1 Message Date
Chris Bednarski
d3e97d1758 Fix argument parsing for CLI
Add tests for main and commands
Fix documentation for installation so the program works with sudo
2020-02-28 09:51:07 -08:00
Chris Bednarski
000eb28419 Clean up makefile 2020-02-26 20:21:55 -08:00
Chris Bednarski
ddad9598d6 Added release target to Makefile 2020-02-26 19:23:15 -08:00
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
2020-02-26 11:33:38 -08:00
Chris Bednarski
4c91c57875 Update to canonical golint import path, closes #35 Thanks Mateusz Kubuszok! 2019-04-22 09:00:03 -07:00
Chris Bednarski
4ac0eeb896 Vendor codegangsta/cli 8cbee4b7192cea690c9f048e742e6b4c3525fd9e 2016-05-09 23:45:07 -07:00
Mike Dillon
8efb2433aa Support alternate install prefix 2016-05-09 08:58:49 -07:00
lucascaro
8490279064 Add cover dependency 2016-02-20 19:55:41 -08:00
Chris Bednarski
96ff2753a7 Apparently trying to update myself also make travis blow up 2015-06-06 00:39:30 -07:00
Chris Bednarski
482b114db4 Go get with lots of dots makes travis blow up 2015-06-06 00:37:59 -07:00
Chris Bednarski
e147e6e466 Added new builds to support windows and raspberrypi 2015-06-05 23:21:57 -07:00
Chris Bednarski
4203437444 Added some dots to the makefile so everything runs with vet and test and such 2015-06-05 22:36:55 -07:00
Chris Bednarski
429fd977dc Added go get for testify -- not sure why this is needed 2015-05-25 17:06:47 -07:00
Chris Bednarski
5f7587e540 Updated readme, now do make && make install 2015-03-28 18:09:50 -07:00
Chris Bednarski
d840489baa Fix implementation for ls 2015-03-22 01:42:08 -07:00
Chris Bednarski
394f87d739 Make sure coverage.html is generated when tests fail
This has a side effect of making vet and lint run even if tests fail,
which maybe undesirable.
2015-03-21 20:23:37 -07:00
Chris Bednarski
a79a8a0f71 User /usr/local/bin 2015-03-21 03:42:09 -07:00
Chris Bednarski
870b3f9756 Fixed some makefile issues and a golint thingy 2015-03-20 15:19:56 -07:00
Chris Bednarski
ebc96283b0 Clean up some golint errors 2015-03-02 00:22:05 -08:00
Chris Bednarski
7f4f5d2b2e Changed to *V commands to switch between ipv4 and ipv6 functionality 2015-03-01 21:54:51 -08:00
Chris Bednarski
c4a1076b01 Renamed main.go to hostess.go so it will have the right name without having to use -o, more idiomatic 2015-03-01 18:07:57 -08:00
Chris Bednarski
d658a40fea Moved go vet after tests have run, removed some @s 2015-02-25 01:45:22 -08:00
Chris Bednarski
1b1671fca6 Added go vet and silence most of the commands so make is less spammy 2015-02-25 00:12:07 -08:00
Chris Bednarski
e036b319cb Added make clean 2015-02-24 01:47:35 -08:00
Chris Bednarski
fcbebef177 Fixed gox builds 2015-02-24 01:43:33 -08:00
Chris Bednarski
c3b108ea9e Moved contents of lib back to the root 2015-02-24 01:00:01 -08:00
Chris Bednarski
f10f823044 Whitespace 2015-02-23 23:51:18 -08:00
Chris Bednarski
74812b4a49 Added coverage to deps 2015-02-23 23:49:55 -08:00
Chris Bednarski
598bfb7ecb Added gox build 2015-02-14 14:52:12 -08:00
Chris Bednarski
64caf045bc Rearranged the package so go install will install the binary instead of some random crap 2015-02-14 14:30:07 -08:00
Chris Bednarski
72c72f33fe Update the makefile to look for the right file 2015-02-14 13:52:45 -08:00
Chris Bednarski
5e4ff2e6ec Added deps to makefile 2015-02-14 12:05:20 -08:00
Chris Bednarski
0637c167f4 Make runs test by default 2015-02-04 21:21:03 -08:00
Chris Bednarski
197eff7a04 Added test cases for parseLine 2015-02-04 00:14:46 -08:00
Chris Bednarski
6916ce2634 Cleanup some compilation errors 2015-01-31 19:36:52 -08:00
Chris Bednarski
d809b75d3b Moved hostess functionality into hostess package, added tests 2015-01-31 18:20:42 -08:00
Chris Bednarski
b6c4a6a432 Added makefile and main application 2015-01-29 22:46:05 -08:00