Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/bashly/commands/doc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def raw_data
@raw_data ||= begin
result = {}
Dir["#{docs_dir}/*.yml"].each do |path|
result.merge! YAML.load_file(path)
result.merge! YAML.trusted_load_file(path)
end
result
end
Expand Down
297 changes: 141 additions & 156 deletions lib/bashly/completions/completely.yaml
Original file line number Diff line number Diff line change
@@ -1,156 +1,141 @@
bashly:
- --help
- -h
- --version
- -v
- init
- preview
- validate
- generate
- add
- doc
- completions
- shell

bashly init: &init
- --help
- -h
- --minimal
- -m

bashly i: *init

bashly preview: &preview
- --help
- -h

bashly p: *preview

bashly validate: &validate
- --help
- -h
- --verbose
- -v

bashly v: *validate

bashly generate: &generate
- --help
- -h
- --env
- --force
- --quiet
- --upgrade
- --watch
- --wrap
- -e
- -f
- -q
- -r
- -u
- -w

bashly g: *generate

bashly generate*--env: &env
- development
- production

bashly generate*-e: *env
bashly g*--env: *env
bashly g*-e: *env

bashly add: &add
- --help
- -h
- --force
- --list
- --source
- -f
- -l
- -s
- colors
- completions
- completions_script
- completions_yaml
- config
- help
- hooks
- lib
- settings
- strings
- test
- validations
- yaml

bashly a: *add

bashly doc: &doc
- --help
- -h
- --index
- -i
- arg
- arg.allowed
- arg.completions
- arg.default
- arg.help
- arg.name
- arg.repeatable
- arg.required
- arg.validate
- command
- command.alias
- command.args
- command.catch_all
- command.commands
- command.completions
- command.default
- command.dependencies
- command.environment_variables
- command.examples
- command.expose
- command.extensible
- command.filename
- command.filters
- command.flags
- command.footer
- command.function
- command.group
- command.help
- command.name
- command.private
- command.version
- environment_variable
- environment_variable.default
- environment_variable.help
- environment_variable.name
- environment_variable.private
- environment_variable.required
- flag
- flag.allowed
- flag.arg
- flag.completions
- flag.conflicts
- flag.default
- flag.help
- flag.long
- flag.private
- flag.repeatable
- flag.required
- flag.short
- flag.validate

bashly completions: &completions
- --help
- -h
- --install
- -i

bashly c: *completions

bashly shell: &shell
- --help
- -h

bashly s: *shell
patterns:
- bashly [root options]
- bashly init|i [init options]
- bashly preview|p [preview options]
- bashly validate|v [validate options]
- bashly generate|build|g [generate options]
- bashly add|a [add options] <library>
- bashly doc [doc options] <doc>
- bashly completions|c [completions options]
- bashly render [render options] <render_source>
- bashly shell|s [shell options]

options:
root:
- --help|-h
- --version|-v
init:
- --help|-h
- --minimal|-m
preview:
- --help|-h
validate:
- --help|-h
- --verbose|-v
generate:
- --help|-h
- --env|-e <env>
- --force|-f
- --quiet|-q
- --upgrade|-u
- --watch|-w
- --wrap|-r <function>
add:
- --help|-h
- --force|-f
- --list|-l
- --source|-s <source>
doc:
- --help|-h
- --index|-i
completions:
- --help|-h
- --install|-i
- --uninstall|-u
render:
- --help|-h
- --watch|-w
- --show|-s <path>
- --list|-l
- --about|-a
shell:
- --help|-h

tokens:
env:
- development
- production
function:
source:
path:
library:
- colors
- completions
- completions_script
- completions_yaml
- config
- help
- hooks
- ini
- lib
- render_markdown
- render_markdown_github
- render_mandoc
- settings
- stacktrace
- strings
- validations
- yaml
doc:
- arg
- arg.allowed
- arg.completions
- arg.default
- arg.help
- arg.name
- arg.repeatable
- arg.required
- arg.validate
- command
- command.alias
- command.args
- command.catch_all
- command.commands
- command.completions
- command.default
- command.dependencies
- command.environment_variables
- command.examples
- command.expose
- command.extensible
- command.filename
- command.filters
- command.flags
- command.footer
- command.function
- command.group
- command.help
- command.help_header_override
- command.name
- command.private
- command.variables
- command.version
- environment_variable
- environment_variable.default
- environment_variable.help
- environment_variable.name
- environment_variable.private
- environment_variable.required
- environment_variable.validate
- flag
- flag.allowed
- flag.arg
- flag.completions
- flag.conflicts
- flag.default
- flag.help
- flag.long
- flag.needs
- flag.private
- flag.repeatable
- flag.required
- flag.short
- flag.unique
- flag.validate
- variable
- variable.name
- variable.value
render_source:
- :mandoc
- :markdown
- :markdown_github
Loading