From 74daa2956684eea959d1422d246992347c2dc948 Mon Sep 17 00:00:00 2001 From: 844196 <844196@users.noreply.github.com> Date: Wed, 23 Jul 2025 13:13:04 +0900 Subject: [PATCH] :truck: `cli.ts` -> `wk.ts` --- mise.toml | 6 +++--- src/{cli.ts => wk.ts} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/{cli.ts => wk.ts} (86%) diff --git a/mise.toml b/mise.toml index 0da803b..e4c39f8 100644 --- a/mise.toml +++ b/mise.toml @@ -12,7 +12,7 @@ run = 'deno lint' [tasks.'check:type'] depends = 'generate:version' -run = 'deno check src/cli.ts' +run = 'deno check src/wk.ts' [tasks.'generate:version'] run = 'echo "${VERSION:-unknown}" > VERSION' @@ -27,9 +27,9 @@ depends = [ [tasks.'build:internal'] depends = 'bundle' -run = 'deno compile --allow-all --target {{arg(name="target")}} --output dist/wk-{{arg(name="target")}} dist/wk.js' +run = 'deno compile --allow-all --target {{arg(name="target")}} --output dist/wk-{{arg(name="target")}} dist/wk.bundle.js' hide = true [tasks.bundle] depends = 'generate:version' -run = 'deno bundle --minify --output dist/wk.js src/cli.ts' +run = 'deno bundle --minify --output dist/wk.bundle.js src/wk.ts' diff --git a/src/cli.ts b/src/wk.ts similarity index 86% rename from src/cli.ts rename to src/wk.ts index 9d16047..fc68d47 100644 --- a/src/cli.ts +++ b/src/wk.ts @@ -5,7 +5,7 @@ import { runCommand } from './run.ts' await new Command() .name('wk') - .description('which-key like menu for shell.') + .description('which-key like menu for zsh.') .version(VERSION.trim()) .command('init', initCommand) .command('run', runCommand)