lib/spout/commands/help.rb in spout-0.12.0.beta2 vs lib/spout/commands/help.rb in spout-0.12.0.rc
- old
+ new
@@ -27,10 +27,11 @@
[g]raphs Generates JSON graphs for each variable
in a dataset and places them
in `<project_name>/graphs/<version>/`
[d]eploy NAME Push dataset and data dictionary to a
webserver specified in `.spout.yml`
+ [u]pdate Update the Spout gem
[v]ersion Returns the version of Spout
Commands can be referenced by the first letter:
Ex: `spout t`, for test
@@ -40,12 +41,14 @@
EOT
end
def new_project
puts <<-EOT
-Usage: spout new <project_name>
+Usage: spout new <project_name> [--skip-gemfile]
+Use `--skip-gemfile` to skip installing gems after project creation.
+
More information here:
https://github.com/sleepepi/spout#generate-a-new-repository-from-an-existing-csv-file
EOT
@@ -53,29 +56,42 @@
def version
puts <<-EOT
Usage: spout version
+Returns version of spout.
+
EOT
end
def test
puts <<-EOT
Usage: spout test
EOT
end
+ def update
+ puts <<-EOT
+Usage: spout update
+
+Checks if a newer version of Spout is available.
+
+EOT
+ end
+
def importer
puts <<-EOT
Usage: spout import <csv_file>
Optional Flags:
--domains Specify to import CSV of domains
+ --forms Specify to import CSV of forms
More information:
https://github.com/sleepepi/spout#generate-a-new-repository-from-an-existing-csv-file
https://github.com/sleepepi/spout#importing-domains-from-an-existing-csv-file
+https://github.com/sleepepi/spout#importing-forms-from-an-existing-csv-file
EOT
end
def exporter
puts <<-EOT