-
-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Source
Broken out from #274 (comment)
Currently
Antq options are validated from when specified as command line args when running antq via clojure -M
.
But antq options are not validated:
- when specified via clojure cli tool or via
clojure -X
- in
project.clj
under:antq
Proposal
It would be nice to present the user with a clear error message when they've specified invalid options for lein plugin and clojure tool/-X
usage.
Technical
Ideas from #274:
- Use malli, antq uses malli as a dev dep. Using malli as a default dep might hinge on fleshing out other existing antq malli specs
- Use babashka.cli, this would replace clojure.tools.cli as an antq dep
- Hand craft
Next Steps
I'm interested in exploring idea 2. If it works, it could consolidate antq options validation into a single babashka cli spec.
I could explore, and if things look prmosing, I could submit a PR for review.
Does that sound OK?
Metadata
Metadata
Assignees
Labels
No labels