1st commit
This commit is contained in:
13
install_wp-cli.sh
Normal file
13
install_wp-cli.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Télécharger
|
||||
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||||
|
||||
# Test
|
||||
php wp-cli.phar --info
|
||||
|
||||
chmod +x wp-cli.phar
|
||||
sudo mv wp-cli.phar /usr/local/bin/wp
|
||||
|
||||
# Test
|
||||
wp --info
|
||||
Reference in New Issue
Block a user