Recommend this page to a friend! |
Classes of Sergey Beskorovayniy | Silex MVC Blog | app/Console/scripts/ubki/README.md | Download |
|
Download ----- Data in XML ----- 1. Performs the following transformation:
Configuration options:The path to the configuration file - app/Resources/?onfig/parameters.yml Basic values: debug: false # debugging (true, false) environment: production # mode: (production, test) data_dir: "c:/tmp" # data dir (here the output of your script) url_test: "http://localhost:8888" # Test the local HOST ubki_login: "ubkiuser" # UBKI - work login ubki_pass: "ubkipass" # UBKI - work pass ubki_test_login: "partest" # UBKI - test login ubki_test_pass: "test38%" # UBKI - test pass ----- Working with script ------ UBKI:INFO (Request data from UBKI)e.g. script.bat "ubki:index" "-t=info" Runs the script with two options: option1 = "ubki:index" Command name option2 = "-t=info" Command type UBKI:DATA (Data to UBKI)e.g. script.bat "ubki:index" "-t=data" Runs the script with two options: option1 = "ubki:index" Command name option2 = "-t=data" Command type UBKI:REGISTRY (Getting registry data from UBKI)e.g. script.bat "ubki:index" "-t=registry" or e.g. script.bat "ubki:index" "todo=REP&indate=20140501&idout=IN#0002133696&idalien=bsa&grp=&zip=ZLIB" "-t=registry" Runs the script with two or three options: option1 = "ubki:index" Command name option2 = "todo=REP&indate=20140501&idout=IN#0002133696&idalien=bsa&grp=&zip=ZLIB" Command arguments option3 = "-t=registry" Command type The results obtained:The results of the script will be located in the data directory (data_dir)
|