42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# File 'lib/charyf/utils/generators/app_base.rb', line 42
def self.add_shared_options_for(name)
class_option :intent_processors, type: :array, aliases: "-ip", default: Defaults::SETTINGS[:intents],
desc: "Set of intent intent processors to be included in installation" + Defaults.intents_desc,
group: :strategies
class_option :storage_provider, type: :string, aliases: "-sp", default: Defaults::SETTINGS[:storage],
desc: "Storage provider to be installed by default." + Defaults.storage_desc,
group: :strategies
class_option :skip_gemfile, type: :boolean, default: false,
desc: "Don't create a Gemfile"
class_option :skip_git, type: :boolean, aliases: "-G", default: false,
desc: "Skip .gitignore file"
class_option :skip_keeps, type: :boolean, default: false,
desc: "Skip source control .keep files"
class_option :lib, type: :boolean, aliases: "-L", default: false,
desc: "Install Charyf as library to existing project"
class_option :dev, type: :boolean, default: false,
desc: "Setup the #{name} with Gemfile pointing to your Charyf checkout"
class_option :edge, type: :boolean, default: false,
desc: "Setup the #{name} with Gemfile pointing to Charyf repository"
class_option :help, type: :boolean, aliases: "-h", group: :charyf,
desc: "Show this help message and quit"
end
|