Padrino::Generators::AdminApp
Class: Padrino::Generators::AdminApp
- Inherits:
- Thor::Group
- Object
- Thor::Group
- Padrino::Generators::AdminApp
- Includes:
- Actions, Padrino::Generators::Admin::Actions, Thor::Actions
Overview
Defines the generator for creating a new admin app.
Class Method Summary
-
.banner ⇒ Object
Defines the “banner” text for the CLI. -
.source_root ⇒ Object
Define the source template root.
Instance Method Summary
-
#create_admin ⇒ Object
Copies over the Padrino base admin application. -
#source_paths ⇒ Object
Look for custom template files in a generators folder under the project root.
Methods included from Padrino::Generators::Admin::Actions
#add_project_module, #ext, #fetch_app_name, #orm, #remove_project_module, #supported_ext, #supported_orm
Methods included from Actions
#already_exists?, #app_skeleton, #apply_component_for, #apply_default_fields, #ask, #check_app_existence, #destination_root, #empty_directory_with_keep_file, #execute_component_setup, #fetch_app_name, #fetch_component_choice, #fetch_project_name, #in_app_root?, #include_component_module_for, #initializer, #inject_into_file, #insert_hook, #insert_into_gemfile, #insert_middleware, #invalid_fields, #keep_file, #middleware, #recognize_path, #require_contrib, #require_dependencies, #resolve_valid_choice, #retrieve_component_config, #run_bundler, #store_component_choice, #store_component_config, #test?, #tiny?, #valid_choice?, #valid_constant?, #validate_namespace
Class Method Details
.banner ⇒ Object
Defines the “banner” text for the CLI.
.source_root ⇒ Object
Define the source template root
Instance Method Details
#create_admin ⇒ Object
Copies over the Padrino base admin application.
#source_paths ⇒ Object
Look for custom template files in a generators folder under the project root.
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Generators/AdminApp