forked from TrueCloudLab/frostfs-locode-db
[#13] locode: Add command to list all locodes
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
c7cb68f1f7
commit
1c14038948
4 changed files with 63 additions and 4 deletions
3
main.go
3
main.go
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue