Produces an editor template for the evadd and evupdate CLI commands.
evtemplate [-u]
This command produces an editor template for the evadd and evupdate commands. This template may contain comment blocks and the metadata will be neatly enumerated.
The generated file contains field titles, followed by a colon and a space, similar to what is obtained within your editor when you use evadd -e. The difference is that, for metadata fields with multiple values such as PRIORITY and STATUS, the choices are presented in comment blocks. This gives the user a list of all possible valid values that can be entered, eliminating the need to know in advance the values.
The -u flag generates the template for the update screen as opposed to the add screen.
The following example shows the generation of the template file for the add screen, and then invokes the editor with the template.
The following example shows the generation of the template file for the add screen then invokes the editor with the template.
$ evtemplate > my_input_file.dat
$ evadd -e -f mytemplate.dat $ |
Here is the raw output from the evtemplate command.
$ evtemplate
########################### # Type in value for Title. ########################### Title: ########################### Product: ########################### Status: Unassigned ########################### Category: ########################### Priority: ########################### Module: ########################### Assigned: ########################### Description: $ |