コマンドラインからWordpressが操作できる

1
2
3
4
5
6
7
8
# ダウンロード
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
# 動作確認
php wp-cli.phar --info
# 実行権限付与
chmod +x wp-cli.phar
# Pathの通った場所へコマンドとして配置
mv wp-cli.phar ~/local/bin/wp
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy