class CommandParser extends Parser<T> {

    @Override
    protected void parse(T type) {
        var commands = new HashMap<String, Object>();
        
        for (var command : environment.resolver.all(type, Command.class)) {
            check(type, command);
            commands.put(command.name(), parse(type, command));
        }
        
        environment.mappings.put("commands", commands);
    }

    public  CommandParser(Environment<T> environment);

}