Closed jezzsantos closed 2 years ago
Adding a code template and code template command is currently two separate (but related commands).
For example:
automate edit add-codetemplate "./AProjectName/AFilename.ext" --name "ATemplateName" automate edit add-codetemplate-command "ATemplateName" --isoneoff --targetpath "~/APropertyName/AFilename.ext"
automate edit add-codetemplate "./AProjectName/AFilename.ext" --name "ATemplateName"
automate edit add-codetemplate-command "ATemplateName" --isoneoff --targetpath "~/APropertyName/AFilename.ext"
Can this be combined into one command:
automate edit add-codetemplate-with-command "./AProjectName/AFilename.ext" --name "ATemplateName" --isoneoff --targetpath "~/APropertyName/AFilename.ext"
Where the name of the command will be assumed to be ATemplateNameCommand, since there is no way to capture the name of the command separate from the code template name.
ATemplateNameCommand
Adding a code template and code template command is currently two separate (but related commands).
For example:
automate edit add-codetemplate "./AProjectName/AFilename.ext" --name "ATemplateName"
automate edit add-codetemplate-command "ATemplateName" --isoneoff --targetpath "~/APropertyName/AFilename.ext"
Can this be combined into one command:
automate edit add-codetemplate-with-command "./AProjectName/AFilename.ext" --name "ATemplateName" --isoneoff --targetpath "~/APropertyName/AFilename.ext"
Where the name of the command will be assumed to be
ATemplateNameCommand
, since there is no way to capture the name of the command separate from the code template name.