effekt-lang / effekt-lang/effekt

Use CLI subcommands

Open
#534 3 comments 1 reaction 0 assignees View on GitHub
quality-of-life
Dominant language
Scala
Stars
469
Forks
41
Avg merge
1d 16h
Merged PRs (30d)
23

Description

We have accumulated a lot of CLI flags, but many of them are just exclusive _commands_.
https://github.com/effekt-lang/effekt/blob/7de9eff01bf7ab87059a564dea4e7a103b7145e7/effekt/jvm/src/main/scala/effekt/EffektConfig.scala#L8-L165

Instead, we might want to move to subcommands, so something like:
```sh
effekt run
effekt compile --backend=
effekt lsp
... # etc
```
This would also allow us to then add other commands like `effekt fmt` for formatting, `effekt watch` for rebuilding files upon file change, and `effekt doc` for documentation generation in the future.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.