grammyjs / create-grammy

Command-line grammY scaffolding tool.
MIT License
9 stars 3 forks source link

Selecting the delivery method go binary. #18

Open Satont opened 1 year ago

Satont commented 1 year ago

When rewriting to golang completely done, we need to figure out how to describute binary to the users.

With Node we can just describute it as npm package, but what we should do for the Deno?

KnorpelSenf commented 1 year ago

I'd suggest to ship an install script for sh and Deno as well as an npm package from the start.

In other words, it should be possible to do these three things:

curl <URL> | sh

or

deno run -A <URL>

or

npm install -g <PACKAGE>

What do you think?

Satont commented 1 year ago

What do you think?

I'm not similar in writing those scripts. If someone can do that for project might be good.

But currently i finished successful installation via npm i -g create-grammy@latest and it works well.

Still not sure how to do that for deno, so bash script might be helpful.

KnorpelSenf commented 1 year ago

@dcdunkan are you able to look into this? I am unsure how much time you have right now

KnorpelSenf commented 1 year ago

I would like to reach a conclusion here