2017 © Pedro Peláez
 

library magento-download-cli

Download Magento editions and patches via command line

image

steverobbins/magento-download-cli

Download Magento editions and patches via command line

  • Saturday, April 1, 2017
  • by steverobbins
  • Repository
  • 3 Watchers
  • 46 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 3 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

MageDownload CLI

Build Status Scrutinizer Code Quality codecov.io, (*1)

A PHP tool to automate Magento release and patch downloads using Magento's download API., (*2)

Example Example with Prompts, (*3)

Installation

.phar

Download the latest magedownload.phar release., (*4)

It's now ready to use: php magedownload.phar help, (*5)

If you want to make it available anywhere on your system, (*6)

chmod +x magedownload.phar
mv magedownload.phar /usr/local/bin/magedownload

And can be used: magedownload help, (*7)

n98 magerun

  • Clone to your modules directory
  • Install with composer
mkdir -p ~/.n98-magerun/modules
git clone https://github.com/steverobbins/magedownload-cli ~/.n98-magerun/modules/magedownload-cli
cd ~/.n98-magerun/modules/magedownload-cli
curl -sS https://getcomposer.org/installer | php
php composer.phar install

Source

  • Clone this repository
  • Install with composer
git clone https://github.com/steverobbins/magedownload-cli
cd magedownload-cli
curl -sS https://getcomposer.org/installer | php
php composer.phar install

Usage

See the help command for all command information:, (*8)

$ php magedownload.phar help

Configuration

To use the Magento download API you must have a user ID and token. These can be generated by logging into your account on magento.com and navigating to Account Settings -> Downloads Access Token., (*9)

Once you have your credentials, you can either specify them with each command (using --id and --token options), or use the configure command to save the settings to your environment (in ~/.magedownload/config.yaml)., (*10)

See php magedownload.phar help configure for details., (*11)

Commands

download

$ php magedownload.phar download [<name>] [<destination>] [--extract]

or, (*12)

$ php n98-magerun.phar download:download [<name>] [<destination>] [--extract]

Downloads the specified file to the given destination. Use the files command to find the correct <name>., (*13)

If no name is given, you will be prompted to select a file to download., (*14)

If no destination is given, the file is downloaded to current directory., (*15)

When --extract is given, the downloaded file will be extracted when possible. The destination must end with .zip, .tar.bz2, or .tar.gz. The files will be extracted to a folder of the same name, without the file extension., (*16)

files

$ php magedownload.phar files

or, (*17)

$ php n98-magerun.phar download:files

Lists files that are available for download., (*18)

You may use either --filter-version or --filter-type options to narrow your search. Examples:, (*19)

  • php magedownload.phar files --filter-version 1.9.2.2
  • php magedownload.phar files --filter-version "1.9.*"
  • php magedownload.phar files --filter-type ce-full

* Due to limitiations with the API, only one filter may be used at a time., (*20)

versions

$ php magedownload.phar versions

or, (*21)

$ php n98-magerun.phar download:versions

Lists all Magento versions that have been released., (*22)

Support

Please create an issue for all bugs and feature requests., (*23)

Contributing

Fork this repository and send a pull request to the dev branch., (*24)

License

Creative Commons Attribution 4.0 International, (*25)

The Versions

01/04 2017

dev-master

9999999-dev

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

07/02 2016

dev-dev

dev-dev

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

07/02 2016

dev-feature/interactive-download

dev-feature/interactive-download

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

24/12 2015

v2.0.0

2.0.0.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

22/12 2015

v1.3.0

1.3.0.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

08/11 2015

v1.2.3

1.2.3.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

03/11 2015

v1.2.2

1.2.2.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

02/11 2015

v1.2.1

1.2.1.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

31/10 2015

v1.2.0

1.2.0.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

31/10 2015

v1.1.0

1.1.0.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

31/10 2015

v1.0.2

1.0.2.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

31/10 2015

v1.0.1

1.0.1.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins

30/10 2015

v1.0.0

1.0.0.0

Download Magento editions and patches via command line

  Sources   Download

CC-BY-4.0

The Requires

 

The Development Requires

by Steve Robbins