lib/potassium/cli/commands/create.rb in potassium-2.2.0 vs lib/potassium/cli/commands/create.rb in potassium-2.3.0
- old
+ new
@@ -8,12 +8,14 @@
desc: "Performs a version check before running.",
negatable: true
c.flag [:db, :database],
desc: "Decides which database to use. Available: mysql, postgresql, none"
- c.flag [:lang, :language],
- desc: "Decides which language to use. Available: es, en"
+ c.flag "locale",
+ desc: "Decides which locale to use. Available: es-CL, en"
+ c.flag [:email_service, :email],
+ desc: "Decides which email adapter to use. Available: aws_ses, sendgrid, none"
c.switch "devise",
desc: "Whether to use Devise for authentication or not",
negatable: true,
default_value: "none"
c.switch "devise-user-model",
@@ -54,9 +56,17 @@
default_value: "none"
c.switch "github-private",
desc: "Whether to the github repository is private",
negatable: true,
default_value: false
+ c.switch "clockwork",
+ desc: "Whether to use clockwork as job scheduler",
+ negatable: true,
+ default_value: "none"
+ c.switch "sentry",
+ desc: "Whether to use Sentry as error reporting tool",
+ negatable: true,
+ default_value: "none"
c.action do |_global_options, options, _args|
require "potassium/newest_version_ensurer"
begin_creation = -> do