WP-CLI is a handy command line tool for WordPress administration that works in the shell. It allows you to make blazing fast upgrades of core WordPress, plugins or themes, new WordPress installations and any kind of administration tasks you usually do over the web administration interface. Actually it offers even a little bit more.
Sometimes a single local domain “localhost” is not enough if we develop more projects. Usually we just use folders for different projects, but woldn’t local domains be better? Some php scripts are not made to run from a subfolder and have problems with that. Here is the solution.