From 7c0f35f369ad06b069b6270268603fb2d81ec266 Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Tue, 11 Aug 2026 06:51:50 +0300 Subject: [PATCH] Add Node.js shebang to fix bin execution error Running the CLI directly caused a "Syntax error: '(' unexpected" because the shell attempted to parse the JavaScript file instead of executing it with Node. Added `#!/usr/bin/env node` to the bin entry point to ensure proper interpreter detection. --- bin/cmdly | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 bin/cmdly diff --git a/bin/cmdly b/bin/cmdly new file mode 100644 index 0000000..8e3b64e --- /dev/null +++ b/bin/cmdly @@ -0,0 +1,2 @@ +#!/usr/bin/env node +import "./dist/index.js";