phpgt / gtcommand Goto Github PK
View Code? Open in Web Editor NEWProvides the `gt` command for automating WebEngine development.
Provides the `gt` command for automating WebEngine development.
The holy grail...
When the app is installed, it should place gt
as a file in the root directory, so the developer can run php gt something
Currently everything is output, but it would be great to only show INFO and below, for example.
When the repo is 3 days old
(pre-release) or 30 days old
(production), display a message in the terminal:
The gt command was last updated X days ago - run "gt self-update" to update
.
Underscores are OK, but hyphens should be allowed.
The PHP.Gt/Database package is ahead of the gt migrate command, and we're missing some vital features for using SQLite.
Dependabot needs to be tamed, as per PhpGt/WebEngine#568
This is just an alternative to gt create
, but it would be useful when teaching, because page/index.html will be viewable in a browser without a server, but as soon as you want to do anything dynamic, gt init and gt run will be required.
gt create
What is the name of your project? (This will name its directory)
PHP Fatal error: Uncaught Error: Call to undefined method Gt\GtCommand\Command\CreateCommand::readLine() in /home/user/.composer/vendor/phpgt/gtcommand/src/Command/CreateCommand.php:24
Stack trace:
#0 /home/user/.composer/vendor/phpgt/cli/src/Application.php(99): Gt\GtCommand\Command\CreateCommand->run()
#1 /home/user/.composer/vendor/phpgt/gtcommand/bin/gt(34): Gt\Cli\Application->run()
#2 /home/user/.composer/vendor/bin/gt(119): include('...')
#3 {main}
thrown in /home/user/.composer/vendor/phpgt/gtcommand/src/Command/CreateCommand.php on line 24
gt build
PHP Fatal error: Uncaught Error: Call to undefined method Gt\Build\Cli\RunCommand::setStream() in /home/divorakn/.composer/vendor/phpgt/gtcommand/src/Command/AbstractProxyCommand.php:11
Stack trace:
#0 /home/user/.composer/vendor/phpgt/gtcommand/src/Command/BuildCommand.php(16): Gt\GtCommand\Command\AbstractProxyCommand->run()
#1 /home/user/.composer/vendor/phpgt/cli/src/Application.php(99): Gt\GtCommand\Command\BuildCommand->run()
#2 /home/user/.composer/vendor/phpgt/gtcommand/bin/gt(34): Gt\Cli\Application->run()
#3 /home/user/.composer/vendor/bin/gt(119): include('...')
#4 {main}
thrown in /home/user/.composer/vendor/phpgt/gtcommand/src/Command/AbstractProxyCommand.php on line 11
gt serve
commonly fails for me, if I've left another server running somewhere... but the error isn't handled, so it needs thinking about.
If there's a failure creating the project, this should trip the gt create process up - instead it continues as if there wasn't an issue.
Currently, the "perfect path" includes answering yes to "Do you want to run your application now?", but this is currently unimplemented.
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.