yyp-cli
v0.1.3
Published
A personal CLI tool
Readme
yyp-cli
A personal CLI tool.
Installation
npx yyp-cli@latest uptimeinstall globally:
npm install -g yyp-cliUsage
yyp <command> [options]yyp uptime
Show system boot time and uptime.
yyp uptimeOutput:
Boot time : 2026/3/20 10:30:00
Uptime : 35d 18h 12m 54sOptions:
| Flag | Description |
|------|-------------|
| --json | Output as JSON |
yyp uptime --json{
"bootTime": "2026-03-20T02:30:00.000Z",
"days": 35,
"hours": 18,
"minutes": 12,
"seconds": 54
}Development
pnpm install
pnpm run build # build once
pnpm run dev # watch modeLicense
MIT
