Chris Bednarski
|
2f683d7e25
|
Merge pull request #26 from cbednarski/f-hostess-fixed
Added fixed command to get exit status 0/1 if hosts file is already formatted
|
8 years ago |
Chris Bednarski
|
c8aa1a891b
|
Added fixed command to get exit status 0/1 if hosts file is already formatted
|
8 years ago |
Chris Bednarski
|
9ab36e01a3
|
Check command Bool or GlobalBool, not just Global. Fixes #21'
|
8 years ago |
Chris Bednarski
|
2f077986f0
|
Change c.Bool to c.GlobalBool so we can detect flags when positioned between hostess and the subcommand
|
8 years ago |
Chris Bednarski
|
866bab4c05
|
Bump version in CLI output to match the current tag
|
8 years ago |
Chris Bednarski
|
4c7ae85191
|
Merge pull request #19 from ultimateboy/patch-1
Add a link to the godocs to the readme
|
8 years ago |
Matt Tucker
|
f1e8e7e16a
|
Add a link to the godocs to the readme
|
8 years ago |
Chris Bednarski
|
cda520eb5f
|
Moved codegangsta/cli under the proper path
|
8 years ago |
Chris Bednarski
|
4ac0eeb896
|
Vendor codegangsta/cli 8cbee4b7192cea690c9f048e742e6b4c3525fd9e
|
8 years ago |
Chris Bednarski
|
d6b6a00e80
|
Merge pull request #16 from md5/alternate-install-paths
Support alternate install prefix
|
8 years ago |
Mike Dillon
|
8efb2433aa
|
Support alternate install prefix
|
8 years ago |
Chris Bednarski
|
2e460bbc6d
|
Updated go version to 1.6
|
8 years ago |
Chris Bednarski
|
35413097c7
|
Add test hosts file and basic test for Ls command; fix ls panic
|
8 years ago |
Chris Bednarski
|
5950705e9d
|
Merge pull request #13 from lucascaro/missing_deps
Add cover dependency
|
8 years ago |
lucascaro
|
8490279064
|
Add cover dependency
|
8 years ago |
Chris Bednarski
|
b92779e0ef
|
Merge branch 'master' of https://github.com/cbednarski/hostess
|
9 years ago |
Chris Bednarski
|
f23141ea9e
|
Added dockerfile
|
9 years ago |
Chris Bednarski
|
e2417ddae0
|
Add coveralls badge
|
9 years ago |
Chris Bednarski
|
51a14d761c
|
Add go tip to travis
|
9 years ago |
Chris Bednarski
|
96ff2753a7
|
Apparently trying to update myself also make travis blow up
|
9 years ago |
Chris Bednarski
|
482b114db4
|
Go get with lots of dots makes travis blow up
|
9 years ago |
Chris Bednarski
|
2d8829c997
|
Added note about supported builds
|
9 years ago |
Chris Bednarski
|
09ada4cfb2
|
Added some extra trims to remove whitespace mid-line
|
9 years ago |
Chris Bednarski
|
5df9c0f798
|
Fixed some bugs with the default windows hosts file
|
9 years ago |
Chris Bednarski
|
ef672fb8dc
|
Updated hosts path test for windows
|
9 years ago |
Chris Bednarski
|
17b38806dc
|
Merge branch 'master' of https://github.com/cbednarski/hostess
|
9 years ago |
Chris Bednarski
|
e147e6e466
|
Added new builds to support windows and raspberrypi
|
9 years ago |
Chris Bednarski
|
ecbb890213
|
Merge branch 'master' of https://github.com/cbednarski/hostess
|
9 years ago |
Chris Bednarski
|
38416be92d
|
Ignore hostess.exe for windows builds
Ignore test case for windows since windows hosts file is empty by default
|
9 years ago |
Chris Bednarski
|
c2ccb716b1
|
Added default path for windows
|
9 years ago |
Chris Bednarski
|
4203437444
|
Added some dots to the makefile so everything runs with vet and test and such
|
9 years ago |
Chris Bednarski
|
b9a25f7aaf
|
Updated the readme
|
9 years ago |
Chris Bednarski
|
cb473d396d
|
Tweak some help text and variable names
|
9 years ago |
Chris Bednarski
|
429fd977dc
|
Added go get for testify -- not sure why this is needed
|
9 years ago |
Chris Bednarski
|
182feec8c1
|
Change some tests to use testify/assert
|
9 years ago |
Chris Bednarski
|
74f1e08361
|
Renamed some variables so the intent is clearer
|
9 years ago |
Chris Bednarski
|
62e9ec8f9a
|
Changed 'data' to 'jsonbytes'
|
9 years ago |
Chris Bednarski
|
8eb33b712c
|
Added dump and apply commands to provide JSON I/O
|
9 years ago |
Chris Bednarski
|
46ea48f8e1
|
This functionality has been superseded by the fix command
|
9 years ago |
Chris Bednarski
|
ec478bd0f0
|
Fix some docs
|
9 years ago |
Chris Bednarski
|
400e163b66
|
Implement -n inside MaybeSaveHostFile
|
9 years ago |
Chris Bednarski
|
ba0968a19d
|
0/1 failure cases are clever, but inconsistent, so let's not do that.
|
9 years ago |
Chris Bednarski
|
1b4067c3e9
|
Clarified aliases
|
9 years ago |
Chris Bednarski
|
7fb619ef83
|
Change name so it's more clear that it does double duty
|
9 years ago |
Chris Bednarski
|
434b1db36d
|
Correct output for enabled / disabled actions
|
9 years ago |
Chris Bednarski
|
4780643dc9
|
Make on and off commands use the same function
|
9 years ago |
Chris Bednarski
|
e8acd27dc9
|
Added aff command and MaybeSaveHostFile
|
9 years ago |
Chris Bednarski
|
9b4e4ba985
|
Enable and disable return true / false if they did something
|
9 years ago |
Chris Bednarski
|
67a150f1dc
|
Changed fix and ls so they don't require -f flag to work
|
9 years ago |
Chris Bednarski
|
d0930958bf
|
Save will actually write to disk now
|
9 years ago |