Git Product home page Git Product logo

gtcommand's Issues

Update message

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.

migrate: update dependencies

The PHP.Gt/Database package is ahead of the gt migrate command, and we're missing some vital features for using SQLite.

gt init - existing directory structure

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.

Cloudlinux OS setup - failing due to missing `readLine`

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

How should failures be handled?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.