Commit Graph

30 Commits

Author SHA1 Message Date
Mike Farah
6b566fd983 Refactored code 2015-10-13 21:42:36 +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
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
mfarah
15f51d4bf0 Can update a yaml file from an instruction yaml file 2015-10-08 10:31:31 +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
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
Mike Farah
6823d43325 Added ability to update yaml files inplace 2015-10-03 18:28:30 +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
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
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
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
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
Mike Farah
1234215037 Can handle arrays 2015-09-28 13:17:50 +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
Mike Farah
c4bc70955e Reads from file 2015-09-27 08:20:42 +10:00
Mike Farah
c00f686a74 init 2015-09-27 08:15:49 +10:00