2017 © Pedro Peláez
 

library cli-web

Web commands for the Ride CLI

image

ride/cli-web

Web commands for the Ride CLI

  • Friday, October 14, 2016
  • by ride-user
  • Repository
  • 7 Watchers
  • 0 Stars
  • 3,025 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 2 % Grown

The README.md

Ride: Web CLI

This module adds various commands for the web environment to the Ride CLI., (*1)

Commands

assets deploy

This command deploys all files in the public directory of the modules and application to the web root., (*2)

Syntax: assets deploy [--watch] [<destination>] - --watch: Time to sleep in seconds before checking again - <destination>: Path of the destination, defaults to the actual public directory, (*3)

Alias: ad, (*4)

alias

This command show an overview of the defined URL aliases. You can add a search query to filter the result., (*5)

Syntax: alias [<query>] - <query> Query to search the URL aliases, (*6)

Alias: a, (*7)

alias set

This command adds a new URL alias., (*8)

Syntax: alias set <path> <alias> [<force>] - <path>: Path of the URL from an existing route, acts as the destination of the alias - <alias>: Alias for the path - <force>: Force the alias for the provided path, (*9)

Alias: as, (*10)

alias unset

This command removes an URL alias., (*11)

Syntax: alias unset <alias> - <alias>: Alias of the path, (*12)

Alias: au, (*13)

route

This command shows an overview of the defined routes. You can add a search query to filter the result., (*14)

Syntax: route [<query>] - <query>: Query to search the routes, (*15)

Alias: r, (*16)

route set

This command adds a new route to the route definition in the application directory., (*17)

Syntax: route set <path> <controller> [<action> [<id> [<methods>]]] - <path>: Path of the route - <controller>: Class name of the controller - <action>: Action method (indexAction) - <id>: Id for the route - <methods>: Allowed methods for the route (eg get,head), (*18)

Alias: rs, (*19)

route unset

This command removes a route from the route definition in the application directory., (*20)

Syntax: route unset <id> - <id>: Id of the route, (*21)

Alias: ru, (*22)

router

This command performs a routing action for the provided path., (*23)

Syntax: router [<path> [<method>]] - <path>: Path to route - <method>: Method of the request, (*24)

Alias: rr, (*25)

session clean

This session cleans up the invalidated sessions., (*26)

Syntax: session clean [--force] - --force: To clear all sessions, (*27)

Alias: sc, (*28)

Installation

You can use Composer to install this application., (*29)

composer require ride/cli-web

The Versions

14/10 2016
14/10 2016
31/05 2016

0.5.0

0.5.0.0

Web commands for the Ride CLI

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd

24/11 2015

0.4.0

0.4.0.0

Web commands for the Ride CLI

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd

27/09 2015

0.3.0

0.3.0.0

Web commands for the Ride CLI

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd

07/05 2014

0.2.1

0.2.1.0

Web commands for the Ride CLI

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd

21/02 2014

0.2.0

0.2.0.0

Web commands for the Pallo CLI

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd

14/01 2014

0.1.0

0.1.0.0

Web commands for the Pallo CLI

  Sources   Download

MIT

The Requires

 

by Joris Vandeweerd