Commit Graph

87 Commits

Author SHA1 Message Date
Adrien Marquès 87bf394536 lint tests 2018-11-13 21:36:19 +01:00
Adrien Marquès a9a69a5728 add cnf/parser/nginx/decoder receiver/syntax/writer error 2018-11-13 21:33:16 +01:00
Adrien Marquès a77923a686 add cnf/parser/nginx/encoder writer error 2018-11-13 21:11:15 +01:00
Adrien Marquès 685da832df test default prefix/indent values + encoder errors 2018-11-13 21:06:39 +01:00
Adrien Marquès 9d2219c3e4 fix readme set coveralls.io MASTER branch 2018-11-13 17:29:16 +01:00
Adrien Marquès 73a0bfdadb fix symbols DisplaySize() + Align() + tests 2018-11-13 17:26:04 +01:00
Adrien Marquès 6cdbf07d37 test clifmt/Title + Warn + Info 2018-11-13 16:22:57 +01:00
Adrien Marquès b4d6b8d8ff add clifmt/colors minimal test 2018-11-13 16:03:57 +01:00
Adrien Marquès d4daa435e5 readme: add 'copy' command 2018-11-13 14:23:36 +01:00
Adrien Marquès 48600584a0 add copy command (instruction) 2018-11-13 14:21:36 +01:00
Adrien Marquès c548e6a5e8 minmod 2018-11-13 14:08:49 +01:00
Adrien Marquès d9bbbfeea3 update readme : add installation instructions 2018-11-13 14:06:33 +01:00
Adrien Marquès 7ddc9a3006 update readme : add toc (Table Of Contents) 2018-11-13 13:50:33 +01:00
Adrien Marquès 3c0f4e0476 migrate to github 2018-11-13 13:13:32 +01:00
xdrm-brackets b60b03539f add alias use in 'run' and 'set' instructions (has priority over real path) 2018-11-13 00:41:42 +01:00
xdrm-brackets 492835a67a create alias instruction 2018-11-13 00:29:57 +01:00
xdrm-brackets ff458d83da fix symbols with a *consistent* method (regexp) | add debug method escape(string) string 2018-11-13 00:20:05 +01:00
xdrm-brackets 8a08f429d2 update cli UI/UX with elapsed time on success | add run command (issue with indentation) 2018-11-12 23:46:10 +01:00
xdrm-brackets 1095283be7 rename instruction/* packages according to command renaming 2018-11-12 22:56:41 +01:00
xdrm-brackets 7d50d2d252 rename commands : ins -> install, del -> delete, ser -> service, cnf -> set | readme add 'alias' command description 2018-11-12 22:54:37 +01:00
xdrm-brackets 7ceaf81ee5 update cnf/loader to infer parser (config format) from content 2018-11-12 20:01:09 +01:00
xdrm-brackets aa3c8e472d lint 2018-11-12 19:45:30 +01:00
xdrm-brackets d88b053dc5 update readme for nginx parser 2018-11-12 19:40:57 +01:00
xdrm-brackets c27ab45bc2 update cnf/parser/nginx encoder+decoder to read the last line even if no newline '\n' char 2018-11-12 19:38:24 +01:00
xdrm-brackets 78d8d9a7a2 update/fix cnf/nginx (encoder, decoder, cnf/nginx) | add cnf/nginx tests 2018-11-12 19:22:24 +01:00
xdrm-brackets ac5a7dbbfd remove cnf/confl parser | add cnf/nginx conf parser using cnf/parser/nginx | implement cnf/nginx.Get() 2018-11-12 17:43:01 +01:00
xdrm-brackets 217cad09e0 update nginx/decoder to read nginx-location sections (location ~ *.php {}) | update encoder | update tests 2018-11-12 17:07:30 +01:00
xdrm-brackets 02bf3d9103 fix decoder + tests 2018-11-12 16:50:50 +01:00
xdrm-brackets 0d6067dda5 implement nginx/encoder + decode->encode test 2018-11-12 16:42:24 +01:00
xdrm-brackets 69f7cb47b8 remove trim() on comments (to keep comment indentation) 2018-11-12 15:38:43 +01:00
xdrm-brackets 73b953c35b moved Line into line.go | remove unused fields (Number, Indent) 2018-11-12 15:35:45 +01:00
xdrm-brackets 14f68cbf8e lint 2018-11-12 12:09:10 +01:00
xdrm-brackets 194b5647ee update nginx/decoder (working for simplest case) | add tests for all line types + nested sections 2018-11-12 12:00:41 +01:00
xdrm-brackets 08b8cf8493 create nginx decoder (not fully working, but first step is ok) 2018-11-12 08:41:00 +01:00
xdrm-brackets 1df8f9df9e create os/exec generic interface (internal/exec) with 'Default' wrapping os/exec + make tests do not use it 2018-11-11 21:41:02 +01:00
xdrm-brackets 2901a4edd4 add readme status about config formats 2018-11-11 19:12:42 +01:00
xdrm-brackets 76cc1eec53 update readme to remove 'upd' command 2018-11-11 19:07:50 +01:00
xdrm-brackets 235e30aeb7 unexport ser/systemd | fixes (golint) 2018-11-11 19:03:05 +01:00
xdrm-brackets 798a847ca7 update readme : add note why no TOML support yet 2018-11-11 18:27:31 +01:00
xdrm-brackets 052bfed769 add support for YAML format cnf/yaml + tests 2018-11-11 18:07:29 +01:00
xdrm-brackets a6eb82102c add support for CONFL format cnf/confl 2018-11-11 16:31:43 +01:00
xdrm-brackets 40d6526b64 unexport cnf/Json to json and cnf/Ini to ini 2018-11-11 15:34:00 +01:00
xdrm-brackets f094254acc fix clifmt/symbols (forgot the '\r') 2018-11-11 15:12:31 +01:00
xdrm-brackets 20245a9955 remove debug 2018-11-11 15:10:00 +01:00
xdrm-brackets 011c09d6ce fix mispelled words 2018-11-11 01:11:46 +01:00
xdrm-brackets 87f983d018 unexport private package managers (internal/pkg) 2018-11-11 01:10:30 +01:00
xdrm-brackets 7475f0bd24 add readme badges 2018-11-11 01:08:54 +01:00
xdrm-brackets cdd4b29334 update cnf/common interface to implement io.ReaderFrom + io.WriterTo | tested ini+json file update 2018-11-11 01:05:14 +01:00
xdrm-brackets 151ebce573 'cnf' working with INI files + loader + instruction executor now works 2018-11-10 19:04:16 +01:00
xdrm-brackets 340fe26d81 update Align() method to add '...' at the end when too long | managing special characters 2018-11-10 18:36:30 +01:00