{"library":"commandpost","type":"library","category":null,"description":"Commandpost is a command-line option parser library for Node.js, designed with a strong emphasis on TypeScript developer experience while remaining fully compatible with JavaScript projects. It provides a structured, chainable API for defining root commands, sub-commands, various types of options (e.g., flags, parameters), and arguments (required, optional, variadic). Inspired by the popular `commander` library, Commandpost differentiates itself by addressing `commander`'s limitations regarding robust TypeScript type inference and usage, offering a more type-safe approach to CLI development. The current stable version is 1.4.0, with releases historically following an irregular cadence based on community contributions and author availability, rather than fixed schedules. Key features include automatic help message generation, versioning, and descriptive capabilities for commands and options. Its core strength lies in enabling developers to build type-safe CLI applications with a familiar, fluid API.","language":"javascript","status":"active","version":"1.4.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install commandpost","imports":["import * as commandpost from 'commandpost'; commandpost.create(...)","import * as commandpost from 'commandpost'; commandpost.exec(root, process.argv)","import * as commandpost from 'commandpost';"]},{"cmd":"yarn add commandpost","imports":[]},{"cmd":"pnpm add commandpost","imports":[]}],"homepage":"https://commandpost.js.org","github":"https://github.com/vvakame/commandpost","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/commandpost","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/commandpost/compatibility"}}