feat: add cli (#34)

* feat: add cli for toon

* docs: use npx in the readme

* feat: overhaul and refactor

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
This commit is contained in:
Andreas Partsch
2025-10-30 08:08:08 +01:00
committed by GitHub
parent 28896e19e8
commit 80acc9d4fe
8 changed files with 275 additions and 1 deletions

View File

@@ -2,7 +2,10 @@ import type { UserConfig, UserConfigFn } from 'tsdown/config'
import { defineConfig } from 'tsdown/config'
const config: UserConfig | UserConfigFn = defineConfig({
entry: ['src/index.ts'],
entry: {
'index': 'src/index.ts',
'cli/index': 'cli/src/index.ts',
},
dts: true,
})