kasl-cli 0.10.0

kasl is a comprehensive command-line utility 🛠️ designed to streamline the tracking of work activities 📊, including start times ⏰, pauses ⏸, and task completion
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env node
// Thin launcher: forwards everything to the downloaded kasl binary.
const path = require("path");
const { spawnSync } = require("child_process");

const exe = path.join(__dirname, process.platform === "win32" ? "kasl.exe" : "kasl");
if (!require("fs").existsSync(exe)) {
  console.error("kasl: binary missing - reinstall the package (npm i -g kasl-cli)");
  process.exit(1);
}
const result = spawnSync(exe, process.argv.slice(2), { stdio: "inherit" });
process.exit(result.status === null ? 1 : result.status);