command
A library to build command line applications using PHP
File Explorer
Download Latest Version (.zip)- aliases.png
- background-color.png
- hello-version-help.png
- interactive-args.gif
- repeat-args-missing.png
- repeat-help-message.png
- HelloWorldTest.php
- ListCommandTest.php
- RenderCommandTest.php
- RepeatCommandTest.php
- HelloWorld.php
- ListCommand.php
- RenderCommand.php
- RepeatCommand.php
- HelpCommand.php
- InteractiveCommand.php
- VersionCommand.php
- Config.php
- ConfigLoader.php
- Console.php
- ExceptionPrinter.php
- OutTransformer.php
- JsonDecoder.php
- SyntaxHelper.php
- ConfigInterface.php
- ConfigLoaderInterface.php
- ConsoleInterface.php
- TransformerInterface.php
- DecoderInterface.php
- TemplateInterface.php
- TemplateLoaderInterface.php
- TwigLoader.php
- TwigTemplate.php
- TemplateLoader.php
- Command.php
- SubCommand.php
- Transformer.php
- CommandTestCase.php
- CanHaveSubCommandsTest.php
- HandlesFilesystemTest.php
- LoadsConfigurationTest.php
- ParsesArgumentsTest.php
- PrintsToConsoleTest.php
- ReadsArgumentsInteractivelyTest.php
- RendersTemplatesTest.php
- ShowsHelpTest.php
- ShowsVersionTest.php
- hello.twig
- ConfigLoaderTest.php
- ConfigTest.php
- ExceptionPrinterTest.php
- OutTransformerTest.php
- bootstrap.php
- .editorconfig
- .gitignore
- .travis.yml
- composer.json
- composer.lock
- LICENSE
- phpunit.xml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/tarsana/command
Downloads the entire project code from GitHub to your computer.
cd command
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer require tarsana/command
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
