[#13] locode: Add command to list all locodes

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2025-03-12 10:21:02 +03:00
parent c7cb68f1f7
commit 1c14038948
4 changed files with 63 additions and 4 deletions

View file

@ -40,7 +40,8 @@ func main() {
initUtilLocodeGenerateCmd()
initUtilLocodeInfoCmd()
rootCmd.AddCommand(locodeGenerateCmd, locodeInfoCmd)
initUtilLocodeListCmd()
rootCmd.AddCommand(locodeGenerateCmd, locodeInfoCmd, locodeListCmd)
err := rootCmd.Execute()
if err != nil {
ExitOnErr(rootCmd, "", err)