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)