huttopia / console-bundle Goto Github PK
View Code? Open in Web Editor NEWAdd some nice features to symfony/console
Add some nice features to symfony/console
symfony/config ^5.0
has changed TreeBuilder
definition:
(new TreeBuilder())->root('name')
(new TreeBuilder('name')->getRootNode())
In src/Application.php
, default value for $allCommands
is true, but it should be false
.
When no command to execute (bin/console
), an help is showned (everything before cache:clear
):
https://zupimages.net/up/20/12/9uoe.png
It's usefull when we start to use symfony/console, but not really when we know how to use it.
We can hide all this informations by default, and show it only when verbose (-v
, -vv
or -vvv
)?
Or we can configure if we want to show it by default / only when verbose?
Instead of keeping this code in bin/console
:
//use Symfony\Bundle\FrameworkBundle\Console\Application;
use Huttopia\ConsoleBundle\Application;
And when we cant to list / use all commands, uncomment first line and comment second one: add --all-commands
option.
A common use on repositories is to have all source code files into src/
directory instead of at root.
With autoload this modification should not impact anything, so we don't need to create a 2.0.0 after this modification.
symfony/yaml
replace -
by _
in yaml keys, but not in values (normal behavior).
A fix to replace -
by _
when we compare command name has been made, but console.list.output.highlight values are not replaced by symfony/yaml
.
Symfony allowed dependencies are 2, 3 and 4 but 5 is also possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.