module Rails::Command::Behavior

def subclasses

Track all command subclasses.
def subclasses
  @subclasses ||= []
end