Wiz 0.9.0-beta: Specify Scope, Create EE Admin Users, and more...
The initial flow of love for Wiz was greatly appreciated! I'm not certain how many people actually have downloaded and are using Wiz today. We may never know fully... But the buzz that was generated was definitely invigorating!
We have recently rolled Wiz out to our entire team here at Classy Llama. No doubt within the next few weeks we will see more features being added as our people put it through the hoops. Enough about that. Let's get on with it!
Specifying a scope code
By default, Wiz will execute your commands running inside of the admin scope. This is great for practically everything, however using the 301-urlskumap to generate a CSV of SKUs to URLs caused issues when running inside of the admin. Now all you have to do is:
wiz 301-urlskumap --store [geshifilter-code]</p>
<p>And it will execute inside of the store's scope, giving you the proper rewritten URLs. If you leave out the code, it will use the default store.
--website is also available.</p>
<h3>Adding EE Admin Users with AdminGWS</h3>
<p>Creating admin users on <a href="http://www.magentocommerce.com/product/enterprise-edition">Magento Enterprise</a> and <a href="http://www.magentocommerce.com/product/professional-edition">Magento Professional</a> is technically the same. The both use SHA256 to store passwords instead of MD5. And they both share the same database structure for users. However, EE has an additional module called Enterprise_AdminGWS. This is important because this module actually modifies the structure of the role table to include GWS (Global, Website, Store) level permissions. Wiz will now check for and properly adapt to the presence of this module.</p>
<p>One of the <a href="http://classyllama.com/magento/introducing-wiz-a-cli-tool-magento/#comment-676">comments on the initial post</a> mentioned tying into the Magento provided shell commands. This is the first part of that excellent idea. The one curious thing about this conversion is that the --days argument is not present. Interestingly enough, although Magento provides this option in their shell script it does not work properly. It ignore it completely and uses what is in the config.</p>
<p>We currently have only one driving force behind where Wiz development time gets spent: feature requests. You are more than welcome to submit a feature request/issue on the <a href="http://bit.ly/wiz-cli">Wiz Github page</a>. Here is what is being planned and worked on for future releases:</p>
<li>Indexing control (in the same vein as cache control).</li>
<li>Status (lists version, modules, module versions, number of products, categories, etc.) in a report format.</li>
<li>Auto-updating from within Wiz.</li>
<li>Module creation and modification.</li>
<p>As always, your feedback is welcomed and <strong>greatly</strong> appreciated!</p>
<p>If you have not started using Wiz yet, <a href="http://bit.ly/wiz-cli">go get it</a>!</p>[/geshifilter-code]
Posted on March 30, 2011