Skip to content

suggestion: allow override executed command #120

@EvaldoNeto

Description

@EvaldoNeto

Hello! First of all congrats on the platform and the excellent content you deliver there.

There are some projects and courses that I would like to do in other languages and be able to execute tests. For instance, I am starting the "Learn the HTTP protocol" course and would like to implement everything in java instead of go.

I would suggest add a flag or env var to change the executed command, in the lessons i saw it always executes "go run .", the idea is to be able to run any executable I create "java -jar /path/to/my/jar" or "createdLessonExecutable" (if I created a binary to run).

I forked the repo and implemented something to do it here. I read the command from a env var named BOOTDEV_OVERRIDE_CMD and rewrite the "go run ." I think it would be nice to have something like that natively.

Appreciate your attention, best regards

Evaldo Neto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions