commands: {
    description: string;
    exec: (editor: any, args: any) => void;
    name: string;
}[]