2017 © Pedro Peláez
 

magento2-module magento2-bash-completion

Magento2 Bash Completion Generator

image

yvoronoy/magento2-bash-completion

Magento2 Bash Completion Generator

  • Thursday, November 30, 2017
  • by yvoronoy
  • Repository
  • 11 Watchers
  • 109 Stars
  • 140 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 4 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

Magento2 Bash Completion Build Status

This plugin adds autocompletion for Magento 2 CLI Sub Commands and their Options., (*1)

Example

Magento2 Bash Completion Screenshot, (*2)

user@host:~$ bin/magento[TAB][TAB]
admin:user:create                        info:dependencies:show-modules-circular
admin:user:unlock                        info:language:list
bash:completion:generate                 info:timezone:list

...
user@host:~$ bin/magento setup:install --[TAB][TAB]
--admin-email                   --db-password
--admin-firstname               --db-prefix
--admin-lastname                --db-user

Prerequisities

To use magento2 bash completion you should have installed Bash Completion. If you don't have installed bash-completion follow guides: * How to install bash-completion in Debian * How to install bash-completion in MacOSX, (*3)

Installation Bash Completion

New completion commands may be placed inside the directory /etc/bash_completion.d or inside /usr/local/etc/bash_completion.d/magento2-bash-completion on MacOSX., (*4)

Mac OSX, (*5)

curl -o /usr/local/etc/bash_completion.d/magento2-bash-completion https://raw.githubusercontent.com/yvoronoy/magento2-bash-completion/master/magento2-bash-completion

Linux, (*6)

sudo curl -o /etc/bash_completion.d/magento2-bash-completion https://raw.githubusercontent.com/yvoronoy/magento2-bash-completion/master/magento2-bash-completion

Don't forget reload shell or you can load new complition by next command: user@host:~$ . /etc/bash_completion.d/magento2-bash-completion, (*7)

Installation Magento2 Bash Completion Extension

Magento2 Bash Completion Extension allows you generate your own bash completion list. It collects all available commands and generates a bash completion., (*8)

You can install the extension by the composer, (*9)

composer require yvoronoy/magento2-bash-completion

The Versions

30/11 2017

dev-master

9999999-dev

Magento2 Bash Completion Generator

  Sources   Download

MIT

The Requires

  • magento/framework ^100.0
  • php ~5.6|~7.0

 

The Development Requires

by Yaroslav Voronoy

13/12 2016

1.0.0

1.0.0.0

Magento2 Bash Completion Generator

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0
  • magento/framework ^100.0

 

The Development Requires

by Yaroslav Voronoy

12/12 2016

1.0.1-beta

1.0.1.0-beta

Magento2 Bash Completion Generator

  Sources   Download

MIT

The Requires

 

by Yaroslav Voronoy

18/06 2016

1.0.x-dev

1.0.9999999.9999999-dev

Magento2 Bash Completion Generator

  Sources   Download

MIT

The Requires

 

by Yaroslav Voronoy

11/06 2016

1.0.0-beta

1.0.0.0-beta

Magento2 Bash Completion Generator

  Sources   Download

MIT

The Requires

 

by Yaroslav Voronoy