feat: add timestamps to output at end of some workspace and template subcommands (#2831)

This commit is contained in:
Ketan Gangatirkar
2022-07-08 14:27:56 -05:00
committed by GitHub
parent 584448e089
commit 2609be767d
9 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func create() *cobra.Command {
return err
}
_, _ = fmt.Fprintf(cmd.OutOrStdout(), "\nThe %s workspace has been created!\n", cliui.Styles.Keyword.Render(workspace.Name))
_, _ = fmt.Fprintf(cmd.OutOrStdout(), "\nThe %s workspace has been created at %s!\n", cliui.Styles.Keyword.Render(workspace.Name), cliui.Styles.DateTimeStamp.Render(time.Now().Format(time.Stamp)))
return nil
},
}