@ignis-web/cqrs-cli
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -157,3 +157,3 @@ #!/usr/bin/env node | ||
const path = await file.to_file(command_file_name, content); | ||
console.log(`[SUCCESS]: ${capitalized_action_name} was created in ${path}`); | ||
console.log(`[SUCCESS]: ${format_name.create_command_name(command_name)} was created in ${path}`); | ||
} | ||
@@ -172,3 +172,3 @@ const query_file_name = capitalized_action_name + '.query.ts'; | ||
const path = await file.to_file(query_file_name, content); | ||
console.log(`[SUCCESS]: ${capitalized_action_name} was created in ${path}`); | ||
console.log(`[SUCCESS]: ${format_name.create_query_name(query_name)} was created in ${path}`); | ||
} | ||
@@ -188,3 +188,3 @@ const handler_file_name = capitalized_action_name + '.handler.ts'; | ||
const path = await file.to_file(handler_file_name, content); | ||
console.log(`[SUCCESS]: ${capitalized_action_name} was created in ${path}`); | ||
console.log(`[SUCCESS]: ${format_name.create_handler_name(handler_name)} was created in ${path}`); | ||
} | ||
@@ -191,0 +191,0 @@ if (data.command) { |
@@ -183,3 +183,3 @@ #!/usr/bin/env node | ||
const path = await file.to_file(command_file_name, content); | ||
console.log(`[SUCCESS]: ${capitalized_action_name} was created in ${path}`); | ||
console.log(`[SUCCESS]: ${format_name.create_command_name(command_name)} was created in ${path}`); | ||
} | ||
@@ -205,3 +205,3 @@ | ||
const path = await file.to_file(query_file_name, content); | ||
console.log(`[SUCCESS]: ${capitalized_action_name} was created in ${path}`); | ||
console.log(`[SUCCESS]: ${format_name.create_query_name(query_name)} was created in ${path}`); | ||
} | ||
@@ -228,3 +228,3 @@ | ||
const path = await file.to_file(handler_file_name, content); | ||
console.log(`[SUCCESS]: ${capitalized_action_name} was created in ${path}`); | ||
console.log(`[SUCCESS]: ${format_name.create_handler_name(handler_name)} was created in ${path}`); | ||
} | ||
@@ -231,0 +231,0 @@ |
{ | ||
"name": "@ignis-web/cqrs-cli", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/create-cq.js", |
Sorry, the diff of this file is not supported yet
32775