Add template base
This commit is contained in:
parent
c98d8a8608
commit
41baff8743
1 changed files with 5 additions and 1 deletions
|
@ -68,7 +68,11 @@ func createJiraTicketStandaloneCmdF(cmd *cobra.Command, _ []string) error {
|
|||
}
|
||||
|
||||
// process template
|
||||
description := TBD()
|
||||
tmpl, err := template.ParseFiles(template)
|
||||
if err != nil {
|
||||
ErrorAndExit(cmd, err)
|
||||
}
|
||||
tmpl.Execute() // ToDo: write in a description var
|
||||
|
||||
jiraClient, err := jira.NewClient(username, token)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue