typia icon indicating copy to clipboard operation
typia copied to clipboard

feat(cli): new cli

Open ryoppippi opened this issue 1 year ago • 6 comments

fixes: https://github.com/samchon/typia/issues/1214 fixes: #1186

This PR is re-implementation of typia cli.

Looks beautiful so please check this out

To execute the new cli

pnpm i
pnpm build
pnpm cli 

ryoppippi avatar Aug 27 '24 15:08 ryoppippi

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None +2 132 kB hirokiosame
npm/[email protected] environment 0 228 kB pi0
npm/[email protected] None 0 27.9 kB antfu
npm/[email protected] Transitive: filesystem +3 252 kB superchupu

View full report↗︎

socket-security[bot] avatar Aug 27 '24 15:08 socket-security[bot]

Open in Stackblitz

npm i https://pkg.pr.new/typia@1245

commit: fe16cc6

pkg-pr-new[bot] avatar Aug 27 '24 15:08 pkg-pr-new[bot]

@samchon

  • the reason I use ESM for bin/typia.mjs is that esm can use top-level await. this is more readable.
  • I'll refactor the code to use namespace import (instead of namespace). give me some times. Thank you for reviewing as always

ryoppippi avatar Aug 28 '24 08:08 ryoppippi

Oops, just hope to revive the namespace. Too much change for me.

samchon avatar Aug 28 '24 08:08 samchon

Oh, Okay, so I'll use namespace :) However, this is a reminder that namespace is becoming less and less recommended, because namespace is a typescript-specific grammer .

ryoppippi avatar Aug 28 '24 08:08 ryoppippi

@samchon I refactored, but I'm sorry that I am not used to using namespace. If my code is hard to read for you, please modify it. And any questions are welcome

ryoppippi avatar Aug 28 '24 09:08 ryoppippi

Oh you implemented for LLM? thank you

ryoppippi avatar Aug 28 '24 16:08 ryoppippi

Oh you implemented for LLM? thank you

Not yet but soon. It's the reason of 2 weeks later's v6.10 publlishing.

samchon avatar Aug 28 '24 16:08 samchon

@samchon If you want me to implement this llm modules(or transfer my typiautil implementation into typia), create an issue and assign me! If you implement it, never mind

ryoppippi avatar Aug 28 '24 21:08 ryoppippi