Genie.Loader.autoload — Function
autoload(root_dir; context, skipdirs, ...)Recursively includes all files that match the configured filters from root_dir into context.
Arguments mirror the exported autoload helpers used by Genie when loading lib, helpers, routes, etc.:
context– module where the files will be brought in (defaults to the app module);skipdirs/namematch/skipmatch– fine-grained filters to limit which directories or files are traversed;autoload_file/autoload_ignore_file– names of the files that drive ordered loading or global exclusions.
Files are loaded via Revise.includet so changes are picked up automatically during development.
Genie.Loader.bootstrap — Function
bootstrap(context::Union{Module,Nothing} = nothing) :: NothingKickstarts the loading of a Genie app by loading the environment settings.
Genie.Loader.default_context — Function
default_context(context::Union{Module,Nothing})Sets the module in which the code is loaded (the app's module)
Genie.Loader.load — Function
load(; context::Union{Module,Nothing} = nothing) :: NothingMain entry point to loading a Genie app.
Genie.Loader.load_helpers — Function
load_helpers(root_dir::String = Genie.config.path_helpers) :: NothingAutomatically recursively includes files from helpers/ and subfolders.
Genie.Loader.load_initializers — Function
load_initializers(root_dir::String = Genie.config.path_config; context::Union{Module,Nothing} = nothing) :: NothingAutomatically recursively includes files from initializers/ and subfolders.
Genie.Loader.load_libs — Function
load_libs(root_dir::String = Genie.config.path_lib) :: NothingRecursively includes files from lib/ and subfolders. The lib/ folder, if present, is designed to host user code in the form of .jl files.
Genie.Loader.load_plugins — Function
load_plugins(root_dir::String = Genie.config.path_plugins; context::Union{Module,Nothing} = nothing) :: NothingAutomatically recursively includes files from plugins/ and subfolders.
Genie.Loader.load_resources — Function
load_resources(root_dir::String = Genie.config.path_resources) :: NothingAutomatically recursively includes files from resources/ and subfolders.
Genie.Loader.load_routes — Function
load_routes(routes_file::String = Genie.ROUTES_FILE_NAME; context::Union{Module,Nothing} = nothing) :: NothingLoads the routes file.