theapache64 / gh-meme-maker

Generate memes using GitHub issues
Apache License 2.0
51 stars 3 forks source link

Manual CLI argument parsing #91

Open hfhbd opened 2 years ago

hfhbd commented 2 years ago

Input

{
  "template_id": "drake-meme",
  "drake_hates": "Manual CLI argument parsing",
  "drake_loves": "Kotlinx-CLI Parser",
  "font_size": 80
}

Template

Please wait, we started cooking your meme 👨‍🍳. Meantime, click the 'Actions' tab if you want to see the kitchen 🍳

@theapache64 How about migrating https://github.com/theapache64/gh-meme-maker/blob/master/src/main/kotlin/com/theapache64/ghmm/Main.kt to https://github.com/Kotlin/kotlinx-cli :)

theapache64-bot commented 2 years ago

Roger that 👍. Please wait...

theapache64-bot commented 2 years ago

Here is it ;)

Didn't like the output? Don't worry, copy paste below JSON with updated values. I can make a new one.

```json
{
  "template_id": "drake-meme",
  "drake_hates": "Manual CLI argument parsing",
  "drake_loves": "Kotlinx-CLI Parser",
  "font_size": 80
}

<!--
GjhgJHGJHGjHGjhgjGJ4545JjHGjhgjhg
-->
theapache64 commented 2 years ago

@hfhbd Did you like it? 😉

theapache64 commented 2 years ago

How about migrating https://github.com/theapache64/gh-meme-maker/blob/master/src/main/kotlin/com/theapache64/ghmm/Main.kt to https://github.com/Kotlin/kotlinx-cli :)

@hfhbd Ohhh. I didn't know about that. Will take a look into it

hfhbd commented 2 years ago

Sure, have fun too :D