{"id":46368530,"url":"https://github.com/joggrdocs/kidd","last_synced_at":"2026-04-15T23:03:09.992Z","repository":{"id":341929921,"uuid":"1169006213","full_name":"joggrdocs/kidd","owner":"joggrdocs","description":"An opinionated CLI framework for Node.js. Convention over configuration, end-to-end type safety.","archived":false,"fork":false,"pushed_at":"2026-03-04T00:26:29.000Z","size":472,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-04T03:40:13.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joggrdocs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-28T03:44:53.000Z","updated_at":"2026-03-04T00:26:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/joggrdocs/kidd","commit_stats":null,"previous_names":["joggrdocs/kidd"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/joggrdocs/kidd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joggrdocs%2Fkidd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joggrdocs%2Fkidd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joggrdocs%2Fkidd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joggrdocs%2Fkidd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joggrdocs","download_url":"https://codeload.github.com/joggrdocs/kidd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joggrdocs%2Fkidd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30107642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:39:18.192Z","status":"online","status_checked_at":"2026-03-05T02:00:06.710Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-05T03:03:02.595Z","updated_at":"2026-04-01T17:44:44.745Z","avatar_url":"https://github.com/joggrdocs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"assets/banner.svg\" alt=\"kidd\" width=\"90%\" /\u003e\n  \u003cp\u003e\u003cstrong\u003eAn opinionated CLI framework for Node.js. Convention over configuration, end-to-end type safety.\u003c/strong\u003e\u003c/p\u003e\n\n\u003ca href=\"https://github.com/joggrdocs/kidd/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/joggrdocs/kidd/actions/workflows/ci.yml/badge.svg?branch=main\" alt=\"CI\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@kidd-cli/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@kidd-cli/core\" alt=\"npm version\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/joggrdocs/kidd/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/joggrdocs/kidd\" alt=\"License\" /\u003e\u003c/a\u003e\n\n\u003ca href=\"https://kidd.dev\"\u003e📖 Documentation\u003c/a\u003e \u0026nbsp;\u0026nbsp;\u0026nbsp;·\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003ca href=\"https://github.com/joggrdocs/kidd/issues\"\u003e🐛 Issues\u003c/a\u003e\n\n\u003c/div\u003e\n\n## Features\n\n- 🧰 **Batteries included** — Config, auth, prompts, logging, output, and middleware built in\n- 📁 **File-system autoloading** — Drop a file in `commands/`, get a command\n- ⚡ **Build and compile** — Bundle your command tree or produce cross-platform standalone binaries\n- 🚀 **Two files to a full CLI** — Define a schema, write a handler, done\n- 🛠️ **Developer experience** — Scaffolding, hot reload, route inspection, and diagnostics out of the box\n\n## Install\n\n```bash\nnpm install @kidd-cli/core\n```\n\n## Usage\n\n### Define your CLI\n\n```ts\n// index.ts\nimport { cli } from '@kidd-cli/core'\nimport { z } from 'zod'\n\nawait cli({\n  name: 'deploy',\n  version: '0.1.0',\n  config: {\n    schema: z.object({\n      registry: z.string().url(),\n      region: z.enum(['us-east-1', 'eu-west-1']),\n    }),\n  },\n})\n```\n\n### Add a command\n\n```ts\n// commands/deploy.ts\nimport { command } from '@kidd-cli/core'\nimport { z } from 'zod'\n\nexport default command({\n  description: 'Deploy to the configured registry',\n  args: z.object({\n    tag: z.string().describe('Image tag to deploy'),\n    dry: z.boolean().default(false).describe('Dry run'),\n  }),\n  handler: async (ctx) =\u003e {\n    ctx.log.info(`Deploying ${ctx.args.tag} to ${ctx.config.region}`)\n  },\n})\n```\n\n### Add a screen\n\n```tsx\n// commands/dashboard.tsx\nimport { screen, Box, Text, useScreenContext } from '@kidd-cli/core/ui'\nimport { z } from 'zod'\n\nfunction Dashboard({ env }: { env: string }) {\n  const ctx = useScreenContext()\n  return (\n    \u003cBox flexDirection=\"column\"\u003e\n      \u003cText bold\u003eDashboard — {env}\u003c/Text\u003e\n      \u003cText\u003eRegion: {ctx.config.region}\u003c/Text\u003e\n    \u003c/Box\u003e\n  )\n}\n\nexport default screen({\n  description: 'Launch an interactive dashboard',\n  options: z.object({\n    env: z.string().default('staging').describe('Target environment'),\n  }),\n  render: Dashboard,\n})\n```\n\n### Run it\n\n```bash\nkidd dev -- deploy --tag v1.2.3         # dev mode\nkidd build                              # bundle\nkidd compile                            # standalone binary\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoggrdocs%2Fkidd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoggrdocs%2Fkidd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoggrdocs%2Fkidd/lists"}