lucee.Component
commandbox.system.modules_app.coldbox-commands.commands.coldbox.create.view
Create a new view in an existing ColdBox application. Run this command in the root of your app for it to find the correct folder. By default, your new view will be created in /views but you can override that with the directory param. . {code:bash} coldbox create view myView {code}
| Method Summary | |
|---|---|
any
|
run(any name, [boolean helper='false'], [any directory='views'])
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Method Detail |
|---|
name - Name of the view to create without the .cfm.helper - Generate a helper file for this viewdirectory - The base directory to create your view in and creates the directory if it does not exist.