versionsapi: implement latest cmd in cli

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2022-12-29 17:41:36 +01:00
parent 5679c9d3de
commit 777c9406fd
2 changed files with 145 additions and 0 deletions

View file

@ -44,6 +44,7 @@ func newRootCmd() *cobra.Command {
rootCmd.PersistentFlags().String("distribution-id", "E1H77EZTHC3NE4", "CloudFront distribution ID of the API")
rootCmd.AddCommand(newAddCmd())
rootCmd.AddCommand(newLatestCmd())
return rootCmd
}