fix some exclusion lists
This commit is contained in:
parent
01c69f3ce2
commit
d387453efa
14
src/_docpad
14
src/_docpad
|
@ -55,13 +55,13 @@ _1st_arguments=(
|
||||||
)
|
)
|
||||||
|
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
'(-h,--help)'{-h,--help}'[output usage information]'\
|
'(-h --help)'{-h,--help}'[output usage information]'\
|
||||||
'(-V,--version)'{-V,--version}'[output the version number]'\
|
'(-V --version)'{-V,--version}'[output the version number]'\
|
||||||
'(-o,--out)'{-o,--out}'[where to output the rendered directory or files]:path:_files'\
|
'(-o --out)'{-o,--out}'[where to output the rendered directory or files]:path:_files'\
|
||||||
'(-c,--config)'{-c,--config}'[a custom configuration file to load in]:path:_files'\
|
'(-c --config)'{-c,--config}'[a custom configuration file to load in]:path:_files'\
|
||||||
'(-e,--env)'{-e,--env}'[the environment name to use for this instance, multiple names can be separated with a comma]'\
|
'(-e --env)'{-e,--env}'[the environment name to use for this instance, multiple names can be separated with a comma]'\
|
||||||
'(-d,--debug)'{-d,--debug}'+[the level of debug messages you would like to display, if specified defaults to 7, otherwise 6]:number'\
|
'(-d --debug)'{-d,--debug}'+[the level of debug messages you would like to display, if specified defaults to 7, otherwise 6]:number'\
|
||||||
'(-f,--force)'{-f,--force}'[force a re-install of all modules]'\
|
'(-f --force)'{-f,--force}'[force a re-install of all modules]'\
|
||||||
'1: :->cmds'\
|
'1: :->cmds'\
|
||||||
'*: :_files'&& ret=0
|
'*: :_files'&& ret=0
|
||||||
|
|
||||||
|
|
20
src/_rails
20
src/_rails
|
@ -401,8 +401,8 @@ _rails_generate_scaffold_controller() {
|
||||||
|
|
||||||
_arguments \
|
_arguments \
|
||||||
$model_generators_options \
|
$model_generators_options \
|
||||||
'(-e,--template-engine)'{-e,--template-engine=}'[Template engine to be invoked]:template engine' \
|
'(-e --template-engine)'{-e,--template-engine=}'[Template engine to be invoked]:template engine' \
|
||||||
'(-t,--test-framework)'{-t,--test-framework=}'[Test framework to be invoked]:test framework' \
|
'(-t --test-framework)'{-t,--test-framework=}'[Test framework to be invoked]:test framework' \
|
||||||
--helper'[Indicates when to generate helper]: :__rails_boolean' \
|
--helper'[Indicates when to generate helper]: :__rails_boolean' \
|
||||||
': :_guard "^-*" "name"'
|
': :_guard "^-*" "name"'
|
||||||
}
|
}
|
||||||
|
@ -471,16 +471,16 @@ _rails_new() {
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
$rails_options \
|
$rails_options \
|
||||||
$runtime_options \
|
$runtime_options \
|
||||||
'(-r,--ruby)'{-r,--ruby=}'[Path to the Ruby binary of your choice]:path' \
|
'(-r --ruby)'{-r,--ruby=}'[Path to the Ruby binary of your choice]:path' \
|
||||||
'(-b,--builder)'{-b,--builder=}'[Path to a application builder (can be a filesystem path or URL)]: :->path_or_url' \
|
'(-b --builder)'{-b,--builder=}'[Path to a application builder (can be a filesystem path or URL)]: :->path_or_url' \
|
||||||
'(-m,--template)'{-m,--template=}'[Path to an application template (can be a filesystem path or URL)]: :->path_or_url' \
|
'(-m --template)'{-m,--template=}'[Path to an application template (can be a filesystem path or URL)]: :->path_or_url' \
|
||||||
--skip-gemfile"[Don't create a Gemfile]" \
|
--skip-gemfile"[Don't create a Gemfile]" \
|
||||||
--skip-bundle"[Don't run bundle install]" \
|
--skip-bundle"[Don't run bundle install]" \
|
||||||
'(-G,--skip-git)'{-G,--skip-git}'[Skip Git ignores and keeps]' \
|
'(-G --skip-git)'{-G,--skip-git}'[Skip Git ignores and keeps]' \
|
||||||
'(-O,--skip-active-record)'{-O,--skip-active-record}'[Skip Active Record files]' \
|
'(-O --skip-active-record)'{-O,--skip-active-record}'[Skip Active Record files]' \
|
||||||
'(-S,--skip-sprockets)'{-S,--skip-sprockets}'[Skip Sprockets files]' \
|
'(-S --skip-sprockets)'{-S,--skip-sprockets}'[Skip Sprockets files]' \
|
||||||
'(-d,--database)'{-d,--database=}'[Preconfigure for selected database]:database:(mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql jdbc)' \
|
'(-d --database)'{-d,--database=}'[Preconfigure for selected database]:database:(mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql jdbc)' \
|
||||||
'(-j,--javascript)'{-j,--javascript=}'[Preconfigure for selected JavaScript library]:javascript' \
|
'(-j --javascript)'{-j,--javascript=}'[Preconfigure for selected JavaScript library]:javascript' \
|
||||||
'(-J --skip-javascript)'{-J,--skip-javascript}'[Skip JavaScript files]' \
|
'(-J --skip-javascript)'{-J,--skip-javascript}'[Skip JavaScript files]' \
|
||||||
--dev'[Setup the application with Gemfile pointing to your Rails checkout]' \
|
--dev'[Setup the application with Gemfile pointing to your Rails checkout]' \
|
||||||
--edge'[Setup the application with Gemfile pointing to Rails repository]' \
|
--edge'[Setup the application with Gemfile pointing to Rails repository]' \
|
||||||
|
|
Loading…
Reference in New Issue