command-line tool to run envato theme checks against any folder
This CLI application is the envato-themecheck written in PHP and is installed using Composer:
composer global require vagebond/envato-themecheck
Make sure the ~/.composer/vendor/bin
directory is in your system's PATH
.
Show me how
If it's not already there, add the following line to your Bash configuration file (usually ~/.bash_profile
, ~/.bashrc
, ~/.zshrc
, etc.):
export PATH=~/.composer/vendor/bin:$PATH
If the file doesn't exist, create it.
Run the following command on the file you've just updated for the change to take effect:
source ~/.bash_profile
All you need to do is call the check ~/path/to/theme
command to check your theme:
When you're working in dev mode you probably want to ignore all devDependencies from your vendor folder. You can do this by adding the --dev
flag to the command:
check ~/path/to/theme --dev
composer global update vagebond/envato-themecheck
composer global remove vagebond/envato-themecheck