Skip to content

excalidraw CLI #1261

Open
Open
@eunjae-lee

Description

@eunjae-lee

Hi there,
I was wondering, what if we have a CLI for excalidraw?

excalidraw my-drawing.excalidraw

This will open a browser. If my-drawing.excalidraw already exists, it will load it.

When user clicks "save" button, it won't show the dialog but quietly save to my-drawing.excalidraw.

excalidraw my-drawing.excalidraw --export

with --export given, whenever user saves, the PNG version is exported as well.

excalidraw my-drawing.excalidraw --export images/my-drawing.png

I guess this can unblock new workflows, for example, for developers who want to have drawings in their git repository.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions