1 # Copyright 2018 Huawei Technologies Co., Ltd.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 open_cli_schema_version: 1.0
18 description: Oclip sample command to test the command features
23 author: Kanagaraj Manickam kanagaraj.manickam@huawei.com
30 description: Oclip boolean param, by default its always false.
38 description: Oclip secure param such as password
43 default_value: pass123#
46 description: Oclip string param
47 long_option: string-param
53 description: Oclip yaml file location param
54 long_option: yaml-param
59 description: Oclip json file location param
60 long_option: json-param
66 description: Oclip long param
73 description: Oclip url param
77 default_value: http://localhost:8082/file.txt
80 description: Oclip env param.
84 default_value: ${ENV_VAR}
85 - name: positional-args
87 description: Oclip positional args, if no short option and no long option given for it
89 default_value: http://localhost:8082/file.txt
92 description: list parameter
93 long_option: list-param
100 description: Oclip output attribute marked in short
104 default_value: req-$s{uuid}
106 description: Oclip output attribute marked in long
110 default_value: Hello ${string-param} !