<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h1&gt;Suprails meta commands&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;suprails.sources &quot;foldername&quot;&lt;/code&gt;&lt;br /&gt;
bq. defines the first place to look for source files and folders&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Rails-related commands&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;rails&lt;/code&gt;&lt;br /&gt;
bq. Since the config file is functional and not declarative, this command indicates where the rails command should be executed&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;freeze&lt;/code&gt;&lt;br /&gt;
bq. Freezes rails&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;generate :generator [ &quot;optional_argument&quot; [ :optional_argument2 [...]]]&lt;/code&gt;&lt;br /&gt;
bq. Run a generator&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Gem-related commands&lt;/h1&gt;
&lt;p&gt;If a gem&amp;#8217;s name doesn&amp;#8217;t contain invalid characters, you can use a symbol. For example: &lt;code&gt;:rspec&lt;/code&gt;. Unfortunately, if there are invalid characters in the name of the gem &amp;#8211; such as a hyphen &amp;#8211; you must use a string: &lt;code&gt;&quot;rspec-rails&quot;&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;gems.config [--development|--test|--production] [ :gemname1 [ &quot;gemname2&quot; [...]]]&lt;/code&gt;&lt;br /&gt;
bq. Adds gem.config lines to environment.rb (default) or the specified environment. This is basically how you &amp;#8220;add&amp;#8221; gems to a rails app.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;gems.update [ &quot;gemname1&quot; [ :gemname2 [...]]]&lt;/code&gt;&lt;br /&gt;
bq. updates the gems before using them. Updates all system gems by default&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;gems.unpack&lt;/code&gt;&lt;br /&gt;
bq. Unpacks and freezes all supporting gems. (alias for rake gems:unpack)&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Plugin-related commands&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;plugin &quot;pluginlocation&quot;&lt;/code&gt;&lt;br /&gt;
bq. executes script/plugin install &lt;em&gt;pluginlocation&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Filesystem-related commands&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;folder &quot;foldername&quot;&lt;/code&gt;&lt;br /&gt;
bq. creates a folder within the rails application (eg: public/stylesheets/sass)&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;file &quot;sourcefile&quot; &quot;destfile&quot;&lt;/code&gt;&lt;br /&gt;
bq. copies a file from &lt;em&gt;sourcefile&lt;/em&gt; to the rails-application-local &lt;em&gt;destfile&lt;/em&gt; location&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;delete &quot;filename&quot;&lt;/code&gt;&lt;br /&gt;
bq. deletes a file in the rails app folder (eg: public/index.html)&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;gpl&lt;/code&gt;&lt;br /&gt;
bq. creates a &lt;span class=&quot;caps&quot;&gt;COPYING&lt;/span&gt; file in the rails app that contains GPLv3. Note that other licenses may be installed with the &lt;code&gt;file&lt;/code&gt; command&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Database-related commands&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;db.(development|test|production).(adapter|encoding|database|username|password|host) &quot;value&quot;&lt;/code&gt;&lt;br /&gt;
bq. self explanatory&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;db.create&lt;/code&gt; &lt;br /&gt;
bq. alias for &lt;code&gt;rake &quot;db:create&quot;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Rake-related commands&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;rake &quot;rake-task&quot;&lt;/code&gt;&lt;br /&gt;
bq. run a rake task. &lt;em&gt;rake-task&lt;/em&gt; will be checked against available tasks&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;&lt;span class=&quot;caps&quot;&gt;SCM&lt;/span&gt;-related commands&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;git&lt;/code&gt;&lt;br /&gt;
bq. initialize git via &lt;code&gt;git init &amp;amp;&amp;amp; git add .&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;svn&lt;/code&gt;&lt;br /&gt;
bq. (I&amp;#8217;m not familiar with svn&amp;#8230; could someone please update this?)&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Facet-related commands (Suprails-specific plugins)&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;(facet-name)&lt;/code&gt;&lt;br /&gt;
bq. Run the facet&amp;#8217;s &lt;strong&gt;init&lt;/strong&gt; command (eg: &lt;strong&gt;haml&lt;/strong&gt; executes the &lt;strong&gt;init&lt;/strong&gt; command of the haml facet, essentially running &lt;strong&gt;haml &amp;#8212;rails AppName&lt;/strong&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;(facet-name).cmd [:optional_arguments]&lt;/code&gt;&lt;br /&gt;
bq. Execute some other command &lt;em&gt;cmd&lt;/em&gt; for the facet&lt;/li&gt;
&lt;/ul&gt;</body>
  <created-at type="datetime">2008-10-12T15:31:10-07:00</created-at>
  <id type="integer">66388</id>
  <permalink>command-list</permalink>
  <repository-id type="integer">61743</repository-id>
  <title>Command List</title>
  <updated-at type="datetime">2008-10-13T20:05:04-07:00</updated-at>
  <user-id type="integer">26813</user-id>
</wiki>
