PHP Class Kirby\Cli\Command\Plugin

Inheritance: extends Kirby\Cli\Command
Show file Open project: getkirby/cli Class Usage Examples

Protected Properties

Property Type Description
$info
$input
$output
$repo
$tmp
$uid
$zip

Protected Methods

Method Description
author ( ) Get the plugin author
cleanUp ( ) Remove the tmp directory
confirm ( $message )
description ( ) Get the plugin description
destination ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
fetch ( ) Download and extract the plugin
info ( ) Read the plugin package file and return the info as array
license ( ) Get the license
move ( ) Move the source to the final destination
name ( ) Return the clear name of the plugin
pluginExists ( )
prepare ( )
repo ( )
source ( )
sourceExists ( )
type ( ) Return the plugin type
version ( ) Get the current version number

Method Details

author() protected method

Get the plugin author
protected author ( )

cleanUp() protected method

Remove the tmp directory
protected cleanUp ( )

confirm() protected method

protected confirm ( $message )

description() protected method

Get the plugin description
protected description ( )

destination() protected method

protected destination ( )

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

fetch() protected method

Download and extract the plugin
protected fetch ( )

info() protected method

Read the plugin package file and return the info as array
protected info ( )

license() protected method

Get the license
protected license ( )

move() protected method

Move the source to the final destination
protected move ( )

name() protected method

Return the clear name of the plugin
protected name ( )

pluginExists() protected method

protected pluginExists ( )

prepare() protected method

protected prepare ( )

repo() protected method

protected repo ( )

source() protected method

protected source ( )

sourceExists() protected method

protected sourceExists ( )

type() protected method

Return the plugin type
protected type ( )

version() protected method

Get the current version number
protected version ( )

Property Details

$info protected property

protected $info

$input protected property

protected $input

$output protected property

protected $output

$repo protected property

protected $repo

$tmp protected property

protected $tmp

$uid protected property

protected $uid

$zip protected property

protected $zip