-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathbashly.rb
More file actions
49 lines (41 loc) · 1.34 KB
/
bashly.rb
File metadata and controls
49 lines (41 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
if ENV['DEBUGGER']
require 'debug'
require 'lp'
end
require 'requires'
requires 'bashly/extensions'
requires 'bashly/exceptions'
module Bashly
autoloads 'bashly/refinements', %i[ComposeRefinements]
autoloads 'bashly', %i[
CLI Config ConfigValidator Library LibrarySource LibrarySourceConfig
MessageStrings RenderContext RenderSource Settings VERSION Watch
]
autoloads 'bashly/concerns', %i[
AssetHelper Completions Renderable ValidationHelpers
]
module Script
autoloads 'bashly/script', %i[
Argument Base CatchAll Command Dependency EnvironmentVariable Flag
Formatter Variable Wrapper
]
module Introspection
autoloads 'bashly/script/introspection', %i[
Arguments Commands Dependencies EnvironmentVariables Examples Flags
Validate Variables Visibility
]
end
end
module Commands
autoloads 'bashly/commands', %i[
Add Base Completions Doc Generate Init Preview Render Shell Validate
]
end
module Libraries
autoload :Base, 'bashly/libraries/base'
autoload :CompletionsFunction, 'bashly/libraries/completions/completions_function'
autoload :CompletionsScript, 'bashly/libraries/completions/completions_script'
autoload :CompletionsYAML, 'bashly/libraries/completions/completions_yaml'
autoload :Help, 'bashly/libraries/help/help'
end
end