lib/jets/commands/new.rb in jets-0.10.4 vs lib/jets/commands/new.rb in jets-1.0.0
- old
+ new
@@ -7,10 +7,10 @@
# it doesnt show up with jets new help :(
# If anyone knows how to fix this let me know.
def self.cli_options
[
[:bootstrap, type: :boolean, default: true, desc: "Install bootstrap css"], # same option in WebpackerTemplate
- [:database, type: :boolean, default: true, desc: "Adds database"],
+ [:database, type: :string, default: 'mysql', desc: "Preconfigure database (options: mysql/postgresql)"],
[:force, type: :boolean, desc: "Bypass overwrite are you sure prompt for existing files."],
[:git, type: :boolean, default: true, desc: "Git initialize the project"],
[:mode, default: 'html', desc: "mode: #{VALID_MODES.join(',')}"],
[:repo, desc: "GitHub repo to use. Format: user/repo"],
[:webpacker, type: :boolean, default: true, desc: "Install webpacker"],