From 90581189cd939440b7923545636a6dbb2af1881b Mon Sep 17 00:00:00 2001 From: Friedel Ziegelmayer Date: Sat, 10 Dec 2016 21:31:37 +0100 Subject: [PATCH] feat(object): add template option to object.new --- src/cli/commands/object/new.js | 4 ++-- src/core/components/object.js | 20 ++++++++++++++++++-- src/http-api/resources/object.js | 3 ++- test/cli/test-object.js | 8 ++++++++ 4 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/cli/commands/object/new.js b/src/cli/commands/object/new.js index ec2853ec3c..6a9d27b0df 100644 --- a/src/cli/commands/object/new.js +++ b/src/cli/commands/object/new.js @@ -7,7 +7,7 @@ const log = debug('cli:object') log.error = debug('cli:object:error') module.exports = { - command: 'new', + command: 'new [