We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74e4b5 commit 631b555Copy full SHA for 631b555
packages/bun-queue/bin/cli.ts
@@ -0,0 +1,13 @@
1
+/* eslint-disable no-console */
2
+import { CLI } from '@stacksjs/clapp'
3
+import { version } from '../package.json'
4
+
5
+const cli = new CLI('queue')
6
7
+cli.command('version', 'Show the version of the CLI').action(() => {
8
+ console.log(version)
9
+})
10
11
+cli.version(version)
12
+cli.help()
13
+cli.parse()
packages/bun-queue/build.ts
@@ -0,0 +1,8 @@
+import { dts } from 'bun-plugin-dtsx'
+await Bun.build({
+ entrypoints: ['src/index.ts', 'bin/cli.ts'],
+ outdir: './dist',
+ target: 'bun',
+ plugins: [dts()],
0 commit comments