implement beta version of cli

relates to #2268
This commit is contained in:
norb 2021-05-04 17:55:29 +02:00
commit ab736148c0
3 changed files with 730 additions and 3 deletions

489
composer.lock generated
View file

@ -4,8 +4,493 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "e0910c4bfa347b6a6f7cd72a8a9ac489",
"packages": [],
"content-hash": "b2c9a2ed87a993de5b521845c4a000a1",
"packages": [
{
"name": "pointybeard/helpers-cli-colour",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-cli-colour.git",
"reference": "04f7070d6a6c70d64208b15ff1db128f1114b7e6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-cli-colour/zipball/04f7070d6a6c70d64208b15ff1db128f1114b7e6",
"reference": "04f7070d6a6c70d64208b15ff1db128f1114b7e6",
"shasum": ""
},
"require": {
"php": ">=5.6.6"
},
"require-dev": {
"block8/php-docblock-checker": "~1.10",
"phpunit/phpunit": "^5"
},
"type": "library",
"autoload": {
"psr-4": {
"pointybeard\\Helpers\\Cli\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "Provides colour constants and a simple way to colourise strings for use on the command-line.",
"homepage": "https://github.com/pointybeard/helpers-cli-colour",
"support": {
"issues": "https://github.com/pointybeard/helpers-cli-colour/issues",
"source": "https://github.com/pointybeard/helpers-cli-colour/tree/master",
"wiki": "https://github.com/pointybeard/helpers-cli-colour/wiki"
},
"time": "2019-05-05T10:11:59+00:00"
},
{
"name": "pointybeard/helpers-cli-input",
"version": "1.2.2.2",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-cli-input.git",
"reference": "9622c9825868cf4ad429ed7cd531175c02bdff94"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-cli-input/zipball/9622c9825868cf4ad429ed7cd531175c02bdff94",
"reference": "9622c9825868cf4ad429ed7cd531175c02bdff94",
"shasum": ""
},
"require": {
"php": ">=7.2",
"pointybeard/helpers-foundation-factory": "~1.0",
"pointybeard/helpers-functions-flags": "~1.0"
},
"type": "library",
"autoload": {
"psr-4": {
"pointybeard\\Helpers\\Cli\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "Collection of classes for handling argv (and other) input when calling command-line scripts. Helps with parsing, collecting and validating arguments, options, and flags.",
"homepage": "https://github.com/pointybeard/helpers-cli-input",
"support": {
"issues": "https://github.com/pointybeard/helpers-cli-input/issues",
"source": "https://github.com/pointybeard/helpers-cli-input/tree/1.2.2.2",
"wiki": "https://github.com/pointybeard/helpers-cli-input/wiki"
},
"time": "2019-11-28T03:33:52+00:00"
},
{
"name": "pointybeard/helpers-exceptions-readabletrace",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-exceptions-readabletrace.git",
"reference": "d41d5bf8885a0f59e4953db7f72b5199733c1304"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-exceptions-readabletrace/zipball/d41d5bf8885a0f59e4953db7f72b5199733c1304",
"reference": "d41d5bf8885a0f59e4953db7f72b5199733c1304",
"shasum": ""
},
"require": {
"php": ">=7.2",
"pointybeard/helpers-functions-debug": "~1",
"pointybeard/helpers-functions-paths": "~1",
"pointybeard/helpers-functions-strings": "~1"
},
"require-dev": {
"phpunit/phpunit": "^8"
},
"type": "library",
"autoload": {
"psr-4": {
"pointybeard\\Helpers\\Exceptions\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "Provides an exception base class that includes method getReadableTrace(), giving simple access to a plain-text, readable, backtrace string.",
"homepage": "https://github.com/pointybeard/helpers-exceptions-readabletrace",
"support": {
"issues": "https://github.com/pointybeard/helpers-exceptions-readabletrace/issues",
"source": "https://github.com/pointybeard/helpers-exceptions-readabletrace/tree/1.0.2",
"wiki": "https://github.com/pointybeard/helpers-exceptions-readabletrace/wiki"
},
"time": "2019-05-26T10:02:32+00:00"
},
{
"name": "pointybeard/helpers-foundation-factory",
"version": "1.0.4",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-foundation-factory.git",
"reference": "852b887002f81b1f95aadcff0df14ccdbc586466"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-foundation-factory/zipball/852b887002f81b1f95aadcff0df14ccdbc586466",
"reference": "852b887002f81b1f95aadcff0df14ccdbc586466",
"shasum": ""
},
"require": {
"php": ">=7.2",
"pointybeard/helpers-functions-strings": "~1.1.0"
},
"type": "library",
"autoload": {
"psr-4": {
"pointybeard\\Helpers\\Foundation\\": "src/"
},
"files": [
"src/Factory/Factory.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "Provides foundation factory classes and factory design pattern functionality",
"homepage": "https://github.com/pointybeard/helpers-foundation-factory",
"support": {
"issues": "https://github.com/pointybeard/helpers-foundation-factory/issues",
"source": "https://github.com/pointybeard/helpers-foundation-factory/tree/1.0.4",
"wiki": "https://github.com/pointybeard/helpers-foundation-factory/wiki"
},
"time": "2019-06-05T12:27:19+00:00"
},
{
"name": "pointybeard/helpers-functions-arrays",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-functions-arrays.git",
"reference": "f17675bd4ed9a27d47a5f085ced0bdd3cc295990"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-functions-arrays/zipball/f17675bd4ed9a27d47a5f085ced0bdd3cc295990",
"reference": "f17675bd4ed9a27d47a5f085ced0bdd3cc295990",
"shasum": ""
},
"require": {
"php": ">=5.6.6"
},
"require-dev": {
"block8/php-docblock-checker": "~1.10",
"phpunit/phpunit": "^5"
},
"type": "library",
"autoload": {
"psr-4": {
"pointybeard\\Helpers\\Functions\\": "src/"
},
"files": [
"src/Arrays/Arrays.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "A collection of helpful functions related to arrays and array manipulation",
"homepage": "https://github.com/pointybeard/helpers-functions-arrays",
"support": {
"issues": "https://github.com/pointybeard/helpers-functions-arrays/issues",
"source": "https://github.com/pointybeard/helpers-functions-arrays/tree/1.0.1",
"wiki": "https://github.com/pointybeard/helpers-functions-arrays/wiki"
},
"time": "2019-05-12T04:20:41+00:00"
},
{
"name": "pointybeard/helpers-functions-cli",
"version": "1.1.9.1",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-functions-cli.git",
"reference": "630efc99d6b7cb6df8333cf0b569c6d4c2bf16d6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-functions-cli/zipball/630efc99d6b7cb6df8333cf0b569c6d4c2bf16d6",
"reference": "630efc99d6b7cb6df8333cf0b569c6d4c2bf16d6",
"shasum": ""
},
"require": {
"php": ">=7.2",
"pointybeard/helpers-cli-colour": "~1.0",
"pointybeard/helpers-cli-input": "~1.2.0",
"pointybeard/helpers-exceptions-readabletrace": "~1.0.0",
"pointybeard/helpers-functions-arrays": "~1.0",
"pointybeard/helpers-functions-debug": "~1.0",
"pointybeard/helpers-functions-flags": "~1.0",
"pointybeard/helpers-functions-strings": "~1.1"
},
"type": "library",
"autoload": {
"psr-4": {
"pointybeard\\Helpers\\Functions\\": "src/"
},
"files": [
"src/Cli/Cli.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "A collection of functions relating to the command-line",
"homepage": "https://github.com/pointybeard/helpers-functions-cli",
"support": {
"issues": "https://github.com/pointybeard/helpers-functions-cli/issues",
"source": "https://github.com/pointybeard/helpers-functions-cli/tree/1.1.9.1",
"wiki": "https://github.com/pointybeard/helpers-functions-cli/wiki"
},
"time": "2020-04-11T08:51:09+00:00"
},
{
"name": "pointybeard/helpers-functions-debug",
"version": "1.0.1.2",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-functions-debug.git",
"reference": "3562931ffebcb8a6306b3636dc76048445cb5a53"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-functions-debug/zipball/3562931ffebcb8a6306b3636dc76048445cb5a53",
"reference": "3562931ffebcb8a6306b3636dc76048445cb5a53",
"shasum": ""
},
"require": {
"php": ">=7.2",
"pointybeard/helpers-functions-paths": "~1",
"pointybeard/helpers-functions-strings": "~1"
},
"require-dev": {
"phpunit/phpunit": "^8"
},
"type": "library",
"autoload": {
"files": [
"src/Debug/Debug.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "A collection of helpful functions to assist with debugging",
"homepage": "https://github.com/pointybeard/helpers-functions-debug",
"support": {
"issues": "https://github.com/pointybeard/helpers-functions-debug/issues",
"source": "https://github.com/pointybeard/helpers-functions-debug/tree/1.0.1.2",
"wiki": "https://github.com/pointybeard/helpers-functions-debug/wiki"
},
"time": "2020-11-03T10:57:00+00:00"
},
{
"name": "pointybeard/helpers-functions-flags",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-functions-flags.git",
"reference": "f336e542e97bb544ef686b94f41496aab76d09ed"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-functions-flags/zipball/f336e542e97bb544ef686b94f41496aab76d09ed",
"reference": "f336e542e97bb544ef686b94f41496aab76d09ed",
"shasum": ""
},
"require": {
"php": ">=5.6.6"
},
"require-dev": {
"block8/php-docblock-checker": "~1.10",
"phpunit/phpunit": "^5"
},
"type": "library",
"autoload": {
"files": [
"src/Flags/Flags.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "A collection of functions for handling bitwise flags",
"homepage": "https://github.com/pointybeard/helpers-functions-flags",
"support": {
"issues": "https://github.com/pointybeard/helpers-functions-flags/issues",
"source": "https://github.com/pointybeard/helpers-functions-flags/tree/1.0.0",
"wiki": "https://github.com/pointybeard/helpers-functions-flags/wiki"
},
"time": "2019-05-07T22:31:38+00:00"
},
{
"name": "pointybeard/helpers-functions-paths",
"version": "1.1.0.1",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-functions-paths.git",
"reference": "262dc45d3b531ff2f1e529f56e0ab1715a22159c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-functions-paths/zipball/262dc45d3b531ff2f1e529f56e0ab1715a22159c",
"reference": "262dc45d3b531ff2f1e529f56e0ab1715a22159c",
"shasum": ""
},
"require": {
"php": ">=7.4"
},
"type": "library",
"autoload": {
"psr-4": {
"pointybeard\\Helpers\\Functions\\": "src/"
},
"files": [
"src/Paths/Paths.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "A collection of helpful functions related to paths, directories, and files names",
"homepage": "https://github.com/pointybeard/helpers-functions-paths",
"support": {
"issues": "https://github.com/pointybeard/helpers-functions-paths/issues",
"source": "https://github.com/pointybeard/helpers-functions-paths/tree/1.1.0.1",
"wiki": "https://github.com/pointybeard/helpers-functions-paths/wiki"
},
"time": "2020-11-10T13:13:10+00:00"
},
{
"name": "pointybeard/helpers-functions-strings",
"version": "1.1.3",
"source": {
"type": "git",
"url": "https://github.com/pointybeard/helpers-functions-strings.git",
"reference": "ded9468690fb023a1f057562dc5223f365f035f9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pointybeard/helpers-functions-strings/zipball/ded9468690fb023a1f057562dc5223f365f035f9",
"reference": "ded9468690fb023a1f057562dc5223f365f035f9",
"shasum": ""
},
"require": {
"php": ">=7.2"
},
"type": "library",
"autoload": {
"files": [
"src/Strings/Strings.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alannah Kearney",
"email": "hi@alannahkearney.com",
"homepage": "http://alannahkearney.com",
"role": "Developer"
}
],
"description": "A collection of functions for manipulating strings",
"homepage": "https://github.com/pointybeard/helpers-functions-strings",
"support": {
"issues": "https://github.com/pointybeard/helpers-functions-strings/issues",
"source": "https://github.com/pointybeard/helpers-functions-strings/tree/master"
},
"time": "2020-04-09T10:15:14+00:00"
}
],
"packages-dev": [
{
"name": "doctrine/instantiator",