Goal logging send - datadir not set & help subcommand

I’m testing all commands of goal and noticed goal logging send don’t recognize ALGORAND_DATA env variable.

Also, goal logging help command isn’t recognized as other default help subcommand usually work in other cases.
Quite weird since from the outputs I guess the client is written in Go using Cobra where the ‘help’ subcommand is usually ‘auto-implemented’.

Regards,
Ignacio

Thanks for digging in Ignacio and sending us your findings. The goal logging send command was recently fixed to support the ALGORAND_DATA environment variable, in addition to multiple -d <datadir> values. I don’t believe cobra provides any default help sub-command. It provides default -h and --help parameters, which work as expected.

1 Like

You’re correct.
There’s a default help command (not sub-command).

Thanks,
Ignacio