Commit Graph

1753 Commits

Author SHA1 Message Date
Mike Farah
98751cf607 Using godeps 2015-10-10 12:57:11 +11:00
Mike Farah
2ec3b59da2 Added more help info about using write with an update script 2015-10-09 21:30:15 +11:00
Mike Farah
56c923228d Fixed bug when using write command
Added more tests to avoid bugs ;)
2015-10-09 21:24:42 +11:00
Mike Farah
c122b9a843 Fixed example in README 2015-10-08 20:07:27 +11:00
mfarah
15f51d4bf0 Can update a yaml file from an instruction yaml file 2015-10-08 10:31:31 +11:00
mfarah
219105f999 Test result order no longer matters 2015-10-07 13:36:39 +11:00
mfarah
955ecc2547 Removed usage of log 2015-10-06 16:39:19 +11:00
mfarah
1d5fbd5ad0 Use cobra for cli for nicer cli-ness 2015-10-06 16:17:28 +11:00
mfarah
1605938c2c Readme updates 2015-10-06 11:58:51 +11:00
mfarah
2780903b60 Fixed readme formatting 2015-10-06 11:51:36 +11:00
mfarah
81672d4efe Can now splat maps 2015-10-06 10:08:31 +11:00
mfarah
6a696c81db Individual tests now have their own test data 2015-10-06 10:02:40 +11:00
mfarah
805729e4f7 DRYd code 2015-10-06 09:25:55 +11:00
mfarah
7db31006da Fixed write bug: can now update yaml with single key in path 2015-10-05 16:03:11 +11:00
mfarah
8409be1cdf Removed debug printLn 2015-10-05 16:02:07 +11:00
mfarah
c03c4813d4 Can read from STDIN 2015-10-05 15:48:34 +11:00
mfarah
5ee6a9b9ca Updated README 2015-10-05 14:48:57 +11:00
mfarah
8efc46deae Fixed bad paths causing recursing down scalar values 2015-10-05 14:47:24 +11:00
mfarah
e4d5769f29 Added array splat functionality 2015-10-05 14:41:50 +11:00
Mike Farah
fea6e0db3d Clarified README 2015-10-04 17:07:39 +11:00
Mike Farah
6823d43325 Added ability to update yaml files inplace 2015-10-03 18:28:30 +10:00
Mike Farah
da4b1a6449 Minor Readme fix 2015-10-03 18:19:13 +10:00
Mike Farah
3a90629822 Remove trim flag as its not properly supported by the cli package 2015-10-03 17:48:54 +10:00
Mike Farah
8aa69fc9ba Handles quoted values when writing 2015-10-03 17:25:13 +10:00
Mike Farah
690442d02e Handles keys that dont exit 2015-10-03 17:06:49 +10:00
Mike Farah
d1c545cca0 Handle index out of range when reading arrays 2015-10-03 17:04:12 +10:00
Mike Farah
c4af37ed68 Custom path parsing 2015-10-03 17:04:12 +10:00
Mike Farah
01845ea923 Split code 2015-10-02 09:05:13 +10:00
Mike Farah
58bdb3ed21 Checking forceString parameter now less strict 2015-10-02 08:50:08 +10:00
mfarah
0cb8a47ccb Added getValue tests 2015-10-01 19:38:45 +10:00
mfarah
35ceb01222 DRY'd tests 2015-10-01 14:43:57 +10:00
mfarah
c1b803364a Now attempts to parse the write value type 2015-10-01 10:50:15 +10:00
Mike Farah
364c1a8af3 Can update yam to stdout 2015-09-29 16:29:32 +10:00
Mike Farah
2a0290aeac updated help 2015-09-29 11:05:28 +10:00
Mike Farah
4ea8d5c4ee Precheckin now installs if tests pass 2015-09-29 11:05:20 +10:00
Mike Farah
eeb16443d4 Can update simple properties (to stdout) 2015-09-29 10:56:28 +10:00
Mike Farah
eebd319246 Nicely formats output 2015-09-29 10:56:12 +10:00
Mike Farah
5a3c3a7152 Added release link in readme 2015-09-29 10:20:31 +10:00
Mike Farah
41156468a9 Added release task 2015-09-29 09:41:00 +10:00
mfarah
404746ab22 Added acceptance test 2015-09-28 13:26:02 +10:00
mfarah
0c5188acb5 Added prechecking script, fixed lint errors 2015-09-28 13:17:51 +10:00
mfarah
9869a41122 gofmt'ed 2015-09-28 13:17:51 +10:00
mfarah
ccd95146fe Added test 2015-09-28 13:17:51 +10:00
mfarah
6550822778 Updated README 2015-09-28 13:17:50 +10:00
Mike Farah
17e05d14ab Added install instructions 2015-09-28 13:17:50 +10:00
Mike Farah
1234215037 Can handle arrays 2015-09-28 13:17:50 +10:00
Mike Farah
bcf2ee8bcc Updated readme 2015-09-28 13:17:38 +10:00
Mike Farah
6a35a5f382 Simplified code 2015-09-27 13:29:12 +10:00
Mike Farah
b1c670e121 First cut - can recursively read yaml! 2015-09-27 13:11:10 +10:00
Mike Farah
da31cbe672 Added cli niceness 2015-09-27 09:38:44 +10:00