lib/bashly/concerns/asset_helper.rb
module Bashly module AssetHelper def asset(path) File.expand_path "../#{path}", __dir__ end def asset_content(path) File.read asset(path) end end end
Source Files
- lib/bashly.rb
- lib/bashly/cli.rb
- lib/bashly/commands/add.rb
- lib/bashly/commands/base.rb
- lib/bashly/commands/completions.rb
- lib/bashly/commands/doc.rb
- lib/bashly/commands/generate.rb
- lib/bashly/commands/init.rb
- lib/bashly/commands/preview.rb
- lib/bashly/commands/render.rb
- lib/bashly/commands/shell.rb
- lib/bashly/commands/validate.rb
- lib/bashly/concerns/asset_helper.rb
- lib/bashly/concerns/completions.rb
- lib/bashly/concerns/indentation_helper.rb
- lib/bashly/concerns/renderable.rb
- lib/bashly/concerns/validation_helpers.rb
- lib/bashly/config.rb
- lib/bashly/config_validator.rb
- lib/bashly/exceptions.rb
- lib/bashly/extensions/array.rb
- lib/bashly/extensions/file.rb
- lib/bashly/extensions/string.rb
- lib/bashly/extensions/yaml.rb
- lib/bashly/libraries/base.rb
- lib/bashly/libraries/completions/completions_function.rb
- lib/bashly/libraries/completions/completions_script.rb
- lib/bashly/libraries/completions/completions_yaml.rb
- lib/bashly/libraries/help/help.rb
- lib/bashly/libraries/render/mandoc/render.rb
- lib/bashly/libraries/render/markdown/render.rb
- lib/bashly/libraries/render/markdown_github/render.rb
- lib/bashly/library.rb
- lib/bashly/library_source.rb
- lib/bashly/library_source_config.rb
- lib/bashly/message_strings.rb
- lib/bashly/refinements/compose_refinements.rb
- lib/bashly/render_context.rb
- lib/bashly/render_source.rb
- lib/bashly/script/argument.rb
- lib/bashly/script/base.rb
- lib/bashly/script/catch_all.rb
- lib/bashly/script/command.rb
- lib/bashly/script/dependency.rb
- lib/bashly/script/environment_variable.rb
- lib/bashly/script/flag.rb
- lib/bashly/script/formatter.rb
- lib/bashly/script/introspection/arguments.rb
- lib/bashly/script/introspection/commands.rb
- lib/bashly/script/introspection/dependencies.rb
- lib/bashly/script/introspection/environment_variables.rb
- lib/bashly/script/introspection/examples.rb
- lib/bashly/script/introspection/flags.rb
- lib/bashly/script/introspection/variables.rb
- lib/bashly/script/introspection/visibility.rb
- lib/bashly/script/variable.rb
- lib/bashly/script/wrapper.rb
- lib/bashly/settings.rb
- lib/bashly/version.rb