arcanis / clipanion

Type-safe CLI library / framework with no runtime dependencies
https://mael.dev/clipanion/
1.12k stars 66 forks source link

Documentation? #29

Closed trulysinclair closed 3 years ago

trulysinclair commented 4 years ago

I was wondering if you plan to add more documentation? I know Clipanion is... extensive, but more documentation would help. Lately I've just been tearing apart Yarn Modern's code to figure out how to use it better. Like throwing UsageError or extending it to make something like WorkspaceRequiredError. But these smaller things aren't mentioned in the README and there isn't a wiki.

arcanis commented 4 years ago

The problem with missing documentation is that since we know how to do it, we miss how hard it is to know about some features, so we don't know it needs documentation 😅

I think the best would be to submit a PR when you learn about something that should be documented, and little by little we'll get there! And in the meantime, feel free to ask in #contributing on the Yarn discord, perhaps we'll be able to point you to the right direction.

trulysinclair commented 4 years ago

I feel that I'm the same way 😂. Since I'm also using Clipanion to it's fullest I'll submit occasional PRs when I feel new devs could learn something new. I already wrote an article on Medium, Getting started with Clipanion, the CLI library that powers Yarn Modern. Thanks for the response, cheers! 🍻

merceyz commented 3 years ago

Clipanion has a documentation website now https://mael.dev/clipanion :tada:

arcanis commented 3 years ago

Indeed! Closing this issue 👍