Help rendering fails
This seems to be a regression caused by #18532, resource is a class method.
Updated by Martin Bacovsky over 5 years ago
The description of the problem is not entirely correct. The resource as an instance method is present. What is actually going on there is that when the resource is missing in API it is set to nil and warning is printed. Later when we are asking for the resource assigned to the command we see the nil and try to ask the parent command which is the MainCommand for the top level commands. The MainCommand is not child of ApipieCommand and has no resource assigned and this is the place where the original error comes from "Error: undefined method `resource' for HammerCLI::MainCommand:Class".