Giter VIP home page Giter VIP logo

typo3_console's Introduction

TYPO3 CMS Console Build Status

Many frameworks come with command helper tools that enables interactions on the command line easily. TYPO3 CMS currently has CLI support, but no dedicated command tool but only a CLI dispatcher script which not straight forward to use and not nice to extend for developers.

A great step forward for developers is the possibility to register command controllers, but running them also requires calling the cli_dispatcher. Another downside is, that until finally the command controller is reached, the framework jumps through several hoops to finally bootstrap Extbase and run the requested command.

The goal of this project is to provide a clean API to register commands (using Extbase Command Controllers) and providing a sane way to call the commands through a single command line tool called "typo3cms"

e.g.

Instead of typing

./typo3/cli_dispatch.phpsh extbase extension:install realurl

just type:

./typo3cms extension:activate realurl

Features

  • Command line tool
  • TYPO3 installation from command line
  • Flexible bootstrap for commands (not every command needs a fully bootstrapped framework)
  • Reliable cache flush commands
  • Scheduler command
  • Backend lock/unlock commands
  • Reference Index commands
  • Many commands useful for deployment
  • Support for all other Extbase command controllers

Installation

For the extension to work, it must be installed in the typo3conf/ext/ directory not in any other possible extension location. This directory must not be a symlink to another location!

If you activate the extension in the extension manager, it will copy the typo3cms command line tool into the installation root directory. But it is also possible to create a symlink to typo3conf/ext/typo3_console/Scripts/typo3cms in any place you want. The console will activate itself on first usage.

Linux and OS X Shell Installation

git clone https://github.com/helhum/typo3_console.git typo3conf/ext/typo3_console
ln -s typo3conf/ext/typo3_console/Scripts/typo3cms typo3cms
php typo3cms help

ToDo & Ideas

Currently only a few commands are delivered with the extension, but those delivered are quite useful already. And if any other extension adds Extbase command controllers, they will also be usable with the typo3cms command.

  • … Add ideas to the issues section of this repository where title is prepended with "idea:"

typo3_console's People

Contributors

helhum avatar mbrodala avatar anubiso avatar mattiasnilsson avatar liayn avatar lolli42 avatar namelesscoder avatar frans-beech-it avatar jacobsenj avatar mmunz avatar samir-plusb avatar tbal avatar githubrsys avatar jrowold avatar

Watchers

James Cloos avatar  avatar

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.