Commit Graph

217 Commits (master)
 

Author SHA1 Message Date
Chris Bednarski ac2093932c Changed ip from string to net.IP and changed hostnames to pointers 9 years ago
Chris Bednarski 896bc7deb0 Moved TrimWS to where it's used 9 years ago
Chris Bednarski 8632ff2f9a Moved other hostname test to hostname_test 9 years ago
Chris Bednarski 5d8bcfff3a Separated some tests from the hostfile_test file 9 years ago
Chris Bednarski b78c4b29ce Changed test to be in hostess_test package and updated tests to use public interface 9 years ago
Chris Bednarski e036b319cb Added make clean 9 years ago
Chris Bednarski 3863a6ed21 Renamed hostess_test to hostfile_test so we can separate some of the tests 9 years ago
Chris Bednarski fcbebef177 Fixed gox builds 9 years ago
Chris Bednarski c3b108ea9e Moved contents of lib back to the root 9 years ago
Chris Bednarski 31fcc2ebb1 Fix ignore file 9 years ago
Chris Bednarski 44c76a91fd Moved main to cmd/hostess 9 years ago
Chris Bednarski d4c77d1a4b Separated hostname, hostfile, and hostlist 9 years ago
Chris Bednarski f10f823044 Whitespace 9 years ago
Chris Bednarski 74812b4a49 Added coverage to deps 9 years ago
Chris Bednarski 598bfb7ecb Added gox build 9 years ago
Chris Bednarski 64caf045bc Rearranged the package so go install will install the binary instead of some random crap 9 years ago
Chris Bednarski 72c72f33fe Update the makefile to look for the right file 9 years ago
Chris Bednarski b7da93ea54 Renamed main to hostess so the binary matches the name of the app 9 years ago
Chris Bednarski 5e4ff2e6ec Added deps to makefile 9 years ago
Chris Bednarski 39db28a677 Reformat some help stuff 9 years ago
Chris Bednarski f8976dd0c2 Shuffled help text so it's in better order 9 years ago
Chris Bednarski a7406bc7ac Migrate usage / help to CLI framework 9 years ago
Chris Bednarski 847ed06b43 Cleanup old code 9 years ago
Chris Bednarski 0750805ceb Added del and has and some helper functions 9 years ago
Chris Bednarski 62832cd57b Implement ls command with alpha sorting and column alignment 9 years ago
Chris Bednarski ac92906cfc Write errors to stderr instead of stdout 9 years ago
Chris Bednarski 1e90d1336c Implemented add and fix with some error handling (no saving yet) 9 years ago
Chris Bednarski fba8a3d5a6 Changed phrasing for -q and -s 9 years ago
Chris Bednarski 4e6ae63efd Added options to help 9 years ago
Chris Bednarski 288ea72582 Added help text 9 years ago
Chris Bednarski d40732868a Added command stubs 9 years ago
Chris Bednarski bf622170cb Added some more test coverage and expended the interface spec 9 years ago
Chris Bednarski 0637c167f4 Make runs test by default 9 years ago
Chris Bednarski 160f534fd0 Added travis ci 9 years ago
Chris Bednarski 15fe9d2f9b Added some commands in the readme 9 years ago
Chris Bednarski b52b8571fd Fix parsing blank lines 9 years ago
Chris Bednarski 546a3f9c37 Replace make len 0 with var declarations 9 years ago
Chris Bednarski 1c107c9c92 Remove comments 9 years ago
Chris Bednarski e30fb0b80b Recursively remove extra whitespace 9 years ago
Chris Bednarski b194db21f8 Removed redundant Trim calls and added Parse impl. 9 years ago
Chris Bednarski 398e75a788 Clarified phrasing 9 years ago
Chris Bednarski 3a12716f8e Trim before splitting so extra spaces are cleared out 9 years ago
Chris Bednarski 8a005b9e9f added fuzzy matching for ipv4 and ipv6 9 years ago
Chris Bednarski 183432da2b Moved parseLine after its dependent functions 9 years ago
Chris Bednarski 9423364cea Added implementation for parseLine; missing LooksLikeIp 9 years ago
Chris Bednarski 06987f28c7 Added a todo for a test case 9 years ago
Chris Bednarski 197eff7a04 Added test cases for parseLine 9 years ago
Chris Bednarski 92d4245f14 Added some fancy words to the readme 9 years ago
Chris Bednarski 74d05983fb Whitespace 9 years ago
Chris Bednarski 96ccb78f8f TestFormatHostfile now passes consistently and is not subject to random map order bullshit 9 years ago