template.json replacing text in files 1

template.json replacing text in files

"symbols":{
            "PARAM_NAME":{
                "type":"parameter",
                "description":"PARAMETER_DESCRIPTION",
                "replaces":"TEXT_TO_BE_REPLACED",
                "isRequired":true,
                "FileRename":"TEXT_TO_BE_REPLACED_IN_FILE_NAMES"
            }
        }

Here is what the above code is Doing:
1. The “symbols” key is used to define the parameters that will be used in the template.
2. The “PARAM_NAME” key is the name of the parameter.
3. The “type” key is used to define the type of parameter.
4. The “description” key is used to define the description of the parameter.
5. The “replaces” key is used to define the text that will be replaced in the template.
6. The “isRequired” key is used to define whether the parameter is required or not.
7. The “FileRename” key is used to define the text that will be replaced in the file names.

Similar Posts