Commit Graph

866 Commits

Author SHA1 Message Date
Mike Farah
5d2d37a5f8 Fixed travis script, added Travis banner to readme 2017-02-13 07:55:06 +11:00
Mike Farah
e3fc944709 Added travis config 2017-02-13 07:28:48 +11:00
Mike Farah
6ee9db9a70 Added License (MIT) 2017-02-10 16:00:25 +11:00
Mike Farah
0d75edfb67 Fixed updating array bug (Issue 3 in git) 2017-02-09 13:58:47 +11:00
Mike Farah
037314af8a Merge pull request #2 from chaos95/master
Handle 'index out of range' errors more gracefully
2016-03-19 13:05:57 +11:00
Morgan Larosa
2a283b4ef7 Fix #1 2016-03-16 16:11:06 +11:00
Mike Farah
7ef556f22b Update README.md 2015-11-20 21:42:45 +11:00
Mike Farah
6b566fd983 Refactored code 2015-10-13 21:42:36 +11:00
Mike Farah
001925a4d4 Release task now clears build directory first 2015-10-13 21:34:40 +11:00
Mike Farah
3dee7b89d2 Updated README 2015-10-13 21:34:26 +11:00
Mike Farah
c955815aab Added json input functionality 2015-10-11 17:06:52 +11:00
Mike Farah
3720bf8211 Added json output functionality 2015-10-11 10:00:22 +11:00
Mike Farah
5f09aabf4c Extracted out common test code 2015-10-10 19:18:54 +11:00
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