-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhanced config transformation + added json schema generation
- Loading branch information
1 parent
51d19b5
commit 2d0de5d
Showing
19 changed files
with
1,268 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Listen for Xdebug", | ||
"type": "php", | ||
"request": "launch", | ||
"port": 9012 | ||
}, | ||
{ | ||
"name": "Launch currently open script", | ||
"type": "php", | ||
"request": "launch", | ||
"program": "${file}", | ||
"cwd": "${fileDirname}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"search.useIgnoreFiles": true, | ||
"search.exclude": { | ||
"vendor": true, | ||
}, | ||
"explorer.autoReveal": false, | ||
"files.exclude": { | ||
"**/.git": true, | ||
}, | ||
"editor.detectIndentation": false, | ||
"editor.insertSpaces": true, | ||
"editor.indentSize": "tabSize", | ||
"editor.tabSize": 2, | ||
"files.trimTrailingWhitespace": true, | ||
"workbench.editorAssociations": { | ||
"*.md": "default" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
<?php | ||
|
||
return [ | ||
'author' => '[François Chastanet](https://github.com/fchastanet)', | ||
'sourceFile' => '${REPOSITORY_URL}/tree/master/${SRC_FILE_PATH}', | ||
'license' => 'MIT License', | ||
'copyright' => 'copyrightCallback', | ||
'optionGroups' => [ | ||
[ | ||
'title' => 'GLOBAL OPTIONS:', | ||
'functionName' => 'zzzGroupGlobalOptionsFunction', | ||
'defaultCommandConfig' => [ | ||
'author' => '[François Chastanet](https://github.com/fchastanet)', | ||
'sourceFile' => '${REPOSITORY_URL}/tree/master/${SRC_FILE_PATH}', | ||
'license' => 'MIT License', | ||
'copyright' => 'copyrightCallback', | ||
'optionGroups' => [ | ||
[ | ||
'title' => 'GLOBAL OPTIONS:', | ||
'functionName' => 'zzzGroupGlobalOptionsFunction', | ||
], | ||
], | ||
'includes' => [ | ||
'default.options.tpl' => true, | ||
], | ||
], | ||
'includes' => [ | ||
'default.options.tpl' => true, | ||
], | ||
'options' => [ | ||
'defaultCommandOptions' => [ | ||
[ | ||
'variableName' => 'optionHelp', | ||
'group' => 'zzzGroupGlobalOptionsFunction', | ||
'type' => 'Boolean', | ||
'help' => 'Display this command help', | ||
'alts' => ['--help','-h',], | ||
'callback' => 'optionHelpCallback', | ||
'callbacks' => [ | ||
'optionHelpCallback', | ||
], | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
command-configurator/src/CommandConfigurator/Exceptions/TransformException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
namespace CommandConfigurator\Exceptions; | ||
|
||
use Exception; | ||
|
||
class TransformException extends Exception { | ||
} |
Oops, something went wrong.