cli-generate-stuffs

Clone or download

Read-only

art #18478 Fix config -> config.json

Config should be set in a json file locate in root directory for convenience. Also, a ConfigRetriever object is used to split up this action and have a better injection of the access key in CurlCaller::retrieveJsonTrackerStructureFromRestApi. Change-Id: I4928b2a3d08008c213524cd130c5c71854f5c40d

Modified Files

Name
M .gitignore +1 −1 Go to diff View file
M README.md +5 −3 Go to diff View file
M bin/console +1 −1 Go to diff View file
M src/App/Commands/ArtifactGeneratorCommand.php +22 −5 Go to diff View file
A src/App/Config/ConfigRetriever.php +70 −0 Go to diff View file
M src/App/Curl/CurlCaller.php +7 −10 Go to diff View file
A src/App/Exception/FileNotFoundException.php +27 −0 Go to diff View file
A src/App/Exception/ParsingErrorException.php +27 −0 Go to diff View file
M tests/unit/Curl/CurlCallerTest.php +5 −5 Go to diff View file