-
-
Notifications
You must be signed in to change notification settings - Fork 8
version bump #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version bump #52
Changes from all commits
ffa124a
a0e832e
c418cd0
a1e3a7e
49a4191
f4f18fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,11 +42,11 @@ component aliases="coldbox create controller" extends="coldbox-cli.models.BaseCo | |
| required name, | ||
| actions = "", | ||
| boolean views = true, | ||
| viewsDirectory = "views", | ||
| viewsDirectory = getAppPrefix( getCWD() ) & "views", | ||
| boolean integrationTests = true, | ||
| appMapping = "/", | ||
| testsDirectory = "tests/specs/integration", | ||
| directory = "handlers", | ||
| directory = getAppPrefix( getCWD() ) & "handlers", | ||
|
||
| description = "I am a new handler", | ||
| boolean open = false, | ||
| boolean rest = false, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ component extends="coldbox-cli.models.BaseCommand" { | |
| description = "I am a new interceptor", | ||
| boolean tests = true, | ||
| testsDirectory = "tests/specs/interceptors", | ||
| directory = "interceptors", | ||
| directory = getAppPrefix( getCWD() ) & "interceptors", | ||
| boolean open = false, | ||
| boolean force = false, | ||
| boolean boxlang = isBoxLangProject( getCWD() ) | ||
|
Comment on lines
31
to
35
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ component extends="coldbox-cli.models.BaseCommand" { | |
| function run( | ||
| required name, | ||
| boolean helper = false, | ||
| directory = "layouts", | ||
| directory = getAppPrefix( getCWD() ) & "layouts", | ||
| boolean open = false, | ||
|
Comment on lines
21
to
25
|
||
| boolean force = false, | ||
| content = "<h1>#arguments.name# Layout</h1>#variables.utility.BREAK#", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,7 +60,7 @@ component extends="coldbox-cli.models.BaseCommand" { | |
| persistence = "transient", | ||
| boolean tests = true, | ||
| testsDirectory = "tests/specs/unit", | ||
| directory = "models", | ||
| directory = getAppPrefix( getCWD() ) & "models", | ||
|
||
| description = "I am a new Model Object", | ||
| boolean open = false, | ||
| boolean accessors = true, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,8 +22,8 @@ component extends="coldbox-cli.models.BaseCommand" { | |
| function run( | ||
| required entity, | ||
| pluralName = "", | ||
| handlersDirectory = "handlers", | ||
| viewsDirectory = "views", | ||
| handlersDirectory = getAppPrefix( getCWD() ) & "handlers", | ||
| viewsDirectory = getAppPrefix( getCWD() ) & "views", | ||
|
Comment on lines
+25
to
+26
|
||
| boolean tests = true, | ||
| testsDirectory = "tests/specs/integration", | ||
| boolean boxlang = isBoxLangProject( getCWD() ) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -91,9 +91,9 @@ component extends="coldbox-cli.models.BaseCommand" { | |
| generator = "native", | ||
| properties = "", | ||
| modulesDirectory = "modules_app", | ||
| handlersDirectory = "handlers", | ||
| viewsDirectory = "views", | ||
| modelsDirectory = "models", | ||
| handlersDirectory = getAppPrefix( getCWD() ) & "handlers", | ||
| viewsDirectory = getAppPrefix( getCWD() ) & "views", | ||
| modelsDirectory = getAppPrefix( getCWD() ) & "models", | ||
|
Comment on lines
+94
to
+96
|
||
| boolean tests = true, | ||
| specsDirectory = "tests/specs", | ||
| boolean api = false, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,7 +33,7 @@ component extends="coldbox-cli.models.BaseCommand" { | |
| methods = "", | ||
| boolean tests = true, | ||
| testsDirectory = "tests/specs/unit", | ||
| directory = "models", | ||
| directory = getAppPrefix( getCWD() ) & "models", | ||
| description = "I am a new service", | ||
|
Comment on lines
33
to
37
|
||
| boolean open = false, | ||
| boolean force = false, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ component extends="coldbox-cli.models.BaseCommand" { | |
| function run( | ||
| required name, | ||
| boolean helper = false, | ||
| directory = "views", | ||
| directory = getAppPrefix( getCWD() ) & "views", | ||
| boolean open = false, | ||
|
Comment on lines
22
to
26
|
||
| content = "<h1>#arguments.name# view</h1>", | ||
| boolean force = false, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docblock text says
viewsDirectorydefaults toviews, but this argument now defaults to a layout-aware path (app/viewsin modern layouts). Update the docs so the documented default matches runtime behavior.