Initialize WordPress environment to use in command line script
I have a command line script for maintaining a wordpress plugin and have to load the wordpress core to be able to access wordpress functions.
This problem is very similar to Initialize WordPress environment to use in a real cron script. Though it differs from it as the referred question is supposed for use with a (real) cron script which can be accomplished otherwise then by starting a command line php script. As the referred question is already answered and this answer is not satisfying my needs I started this question.
So what it is necessary in a command line script to initialize the wordpress environment?
Related
Topic wp-load.php command-line Wordpress
Category Web