Skip to content

Allow using script with a template instead of just expr #12

Closed
@jeromegn

Description

@jeromegn

Maybe this is already a feature, but I can't figure out the syntax.

I made a template called sys.rs and put it in the right path, but none of these work:

rust-script myscript -t sys
rust-script -t sys myself

--expr seems required with a --template flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions