Git Product home page Git Product logo

Comments (6)

ruckus avatar ruckus commented on July 19, 2024

I'm ok with just ruckus as long as the shebang resolves correctly. Will this pose issues on other platforms? If not and if its safe enough then we can truncate:

$ php main.php db:migrate

to

$ ruckus db:migrate

Then I say go for it.

from ruckusing-migrations.

salimane avatar salimane commented on July 19, 2024

the shebang mostly will resolve correctly in *nix. Now, if you installed your php in some unusual place, well you know it :), so you have to run it with your custom location /my/custom/path/php ruckus db:migrate.
In windows you will always use php ruckus db:migrate

from ruckusing-migrations.

salimane avatar salimane commented on July 19, 2024

after working with ./ruckus db:migrate, i think it's better to use php ruckus.php db:migrate

from ruckusing-migrations.

akDeveloper avatar akDeveloper commented on July 19, 2024

Using ./ruckus db:migrate you dont have to memorize the command. In console, you hit ./r [tab] and you get the command.

from ruckusing-migrations.

mplx avatar mplx commented on July 19, 2024

I too prefer a change of main.php to something more talking. Using composer it's dropping a main.php in my ./vendor/bin while all other commands have usefuller names there.

Personally I'd go for ruckus.php - for commands you'd have to use more often you simply can set up an shell alias (i.e. alias ruckus='/path/to/bin/php /path/to/bin/ruckus.php', so 'ruckus db:migrate' works fine; ...or even something shorter like alias r='/path/to/bin/php /path/to/bin/ruckus.php db:migrate')

from ruckusing-migrations.

salimane avatar salimane commented on July 19, 2024

I finally went for ruckus.php in #70 . And as @mplx said, you can play with alias to get your own flavor ;)

from ruckusing-migrations.

Related Issues (20)

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.