summaryrefslogtreecommitdiffstats
path: root/framework/src/main
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-02-23 06:23:15 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2018-02-28 09:20:29 +0000
commit44a21ae0bb0e6d26e4bb986764cd6edd1e8e05b5 (patch)
tree35547d8fc23ca8b19596f449a274ef070bf101a7 /framework/src/main
parent225400a393da49322bdf500a61ae423ec00efead (diff)
Add support for context parameter
Add support for context parameter, which can be used to communicate data from framework to profile. Change-Id: Idf77f3c225e7e65be2660f687782b37dc3da76c3 Issue-ID: CLI-74 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'framework/src/main')
-rw-r--r--framework/src/main/resources/open-cli-schema/default_input_parameters.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml b/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
index bb35ac26..1dbeedb4 100644
--- a/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
+++ b/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
@@ -42,4 +42,11 @@ parameters:
short_option: t
long_option: no-title
default_value: false
- is_default_param: true \ No newline at end of file
+ is_default_param: true
+ - name: context
+ type: map
+ description: command context
+ short_option: D
+ long_option: context
+ is_default_param: true
+ is_optional: true \ No newline at end of file