Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit 5305d09

Browse files
committed
incremental changes
1 parent 555c8e5 commit 5305d09

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

commands/wheels/generate/model.cfc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ component aliases='wheels g model' extends="../base" {
1818
/**
1919
* @name.hint Name of the model to create without the .cfc: assumes singluar can be foo/foo
2020
* @fields.hint Comma Delimited list of fields with type after semicolon
21+
* @db.hint Boolean attribute specifying if the database table should be generated as well
2122
**/
2223
function run(
2324
required string name,
2425
boolean db=true
2526
){
2627

27-
var obj = helpers.getNameVariants(arguments.name);
28+
var obj = helpers.getNameVariants(arguments.name);
2829
var directory = fileSystemUtil.resolvePath("models");
30+
//TODO: Refactor into a function that tries to get the app name from the server.json file
2931
var appName = listLast( getCWD(), '/\' );
3032

3133
if(db){

0 commit comments

Comments
 (0)