Wheels CLI matures to Version 1.0
June 20, 2022
Posted in CLI, Community, Releases
Posted By: Peter Amiri
<!-- wp:paragraph -->
<p>It's hard to believe it took so long to get here but modern CFML development has come a long way thanks to tools like <a href="https://www.ortussolutions.com/products/commandbox" data-type="URL" data-id="https://www.ortussolutions.com/products/commandbox">CommandBox</a> and <a href="https://www.forgebox.io" data-type="URL" data-id="https://www.forgebox.io">ForgeBox</a>. The Wheels CLI is built as a CommandBox module and wouldn't have even been possible without the support of the fine folks at <a href="https://www.ortussolutions.com" data-type="URL" data-id="https://www.ortussolutions.com">Ortus Solutions</a>. </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>The first commit to the repo for this project was committed back in July of 2016. It's taken a while, that's an understatement, to get here but Wheels itself jumped to 2.0, CommandBox matured, and we were able to put the plumbing in place to support the communication between the CLI and the running server. With nearly 300 commits in the repo, 25 commands in the CLI, and over 20 pages of documentation, it's now time to take the alpha/beta label off send this baby out into the world. </p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Some of the more notable commands are <code>wheels new</code> to use our wizard to start a brand new project. With this command and the corresponding <code>wheels generate app</code> command, you can start a new Wheels project in a directory, specify the template to use, pick the CF engine to use, configure the datasource, and setup your reload password. In fact there's a whole host of <code>generate</code> commands for every type of object you may want to create. There are a bunch of <code>dbmigrate</code> commands to interact with database migrations.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>To install the CLI issue the following command:</p>
<!-- /wp:paragraph -->
<!-- wp:code -->
<pre class="wp-block-code"><code>box install cfwheels-cli</code></pre>
<!-- /wp:code -->
<!-- wp:paragraph -->
<p>Don't forget to check out the full <a href="https://guides.cfwheels.org/cfwheels-guides/command-line-tools/cli-commands" data-type="URL" data-id="https://guides.cfwheels.org/cfwheels-guides/command-line-tools/cli-commands">CLI Commands</a> section in the guides too.</p>
<!-- /wp:paragraph -->
Please login to join the conversation! Login