[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10159":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":15,"starSnapshotCount":15,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},10159,"oclif","oclif\u002Foclif","CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.","https:\u002F\u002Foclif.io",null,"TypeScript",9540,355,65,12,0,1,5,28,3,38.65,"MIT License",false,"main",true,[26,27,5,28],"cli","nodejs","typescript","2026-06-12 02:02:17","\u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F449385\u002F38243295-e0a47d58-372e-11e8-9bc0-8c02a6f4d2ac.png\" width=\"260\" height=\"73\">\n\n# `oclif` CLI\n\n[![Version](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Foclif.svg)](https:\u002F\u002Fnpmjs.org\u002Fpackage\u002Foclif)\n[![Downloads\u002Fweek](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdw\u002Foclif.svg)](https:\u002F\u002Fnpmjs.org\u002Fpackage\u002Foclif\u002Foclif)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fl\u002Foclif.svg)](https:\u002F\u002Fgithub.com\u002Foclif\u002Foclif\u002Fblob\u002Fmain\u002Fpackage.json)\n\n\u003C!-- toc -->\n\n- [`oclif` CLI](#oclif-cli)\n- [🗒 Description](#-description)\n- [🚀 Getting Started Tutorial](#-getting-started-tutorial)\n- [📌 Requirements](#-requirements)\n- [📌 Migrating from V1](#-migrating-from-v1)\n- [🏗 Usage](#-usage)\n- [📚 Examples](#-examples)\n- [🔨 Commands](#-commands)\n- [Command Topics](#command-topics)\n- [🚀 Contributing](#-contributing)\n- [🏭 Related Repositories](#-related-repositories)\n- [🦔 Learn More](#-learn-more)\n\u003C!-- tocstop -->\n\n# 🗒 Description\n\nThis is the `oclif` CLI for the [Open CLI Framework](https:\u002F\u002Fgithub.com\u002Foclif\u002Fcore), that supports the development of oclif plugins and CLIs.\n\n[See the docs for more information](http:\u002F\u002Foclif.io).\n\n# 🚀 Getting Started Tutorial\n\nThe [Getting Started tutorial](http:\u002F\u002Foclif.io\u002Fdocs\u002Fintroduction) is a step-by-step guide to introduce you to oclif. If you have not developed anything in a command line before, this tutorial is a great place to get started.\n\nSee [Usage](#-usage) below for an overview of the `oclif` CLI.\n\n# 📌 Requirements\n\nCurrently, Node 18+ is supported. We support the [LTS versions](https:\u002F\u002Fnodejs.org\u002Fen\u002Fabout\u002Freleases) of Node. You can add the [node](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fnode) package to your CLI to ensure users are running a specific version of Node.\n\n# 📌 Migrating from V1\n\nIf you have been using version 1 of the [`oclif` CLI](https:\u002F\u002Fgithub.com\u002Foclif\u002Foclif\u002Ftree\u002Fv1.18.4) there are some important differences to note when using the latest version.\n\n## Breaking Changes\n\n- `oclif multi`, `oclif plugin`, and `oclif single` have all been removed in favor of `oclif generate`, which generates an oclif based CLI using the [hello-world example repo](https:\u002F\u002Fgithub.com\u002Foclif\u002Fhello-world).\n  - The reason is that there's not enough of a meaningful difference between a \"multi command cli\", a \"single command cli\", and a \"plugin\" to justify the maintenance cost. The generated CLI can be easily used for any of those use cases.\n- `oclif hook` is now `oclif generate:hook`\n- `oclif command` is now `oclif generate:command`\n\n## New Commands\n\nVersion 2 now includes all the commands from the [`oclif-dev` CLI](https:\u002F\u002Fgithub.com\u002Foclif\u002Fdev-cli). This means that you can now use a single CLI for all your oclif needs. These commands include:\n\n- `oclif manifest`\n- `oclif pack`\n- `oclif pack:deb`\n- `oclif pack:macos`\n- `oclif pack:win`\n- `oclif upload` (formerly known as `oclif-dev publish`)\n- `oclif upload:deb` (formerly known as `oclif-dev publish:deb`)\n- `oclif upload:macos` (formerly known as `oclif-dev publish:macos`)\n- `oclif upload:win` (formerly known as `oclif-dev publish:win`)\n- `oclif readme`\n\n# 🏗 Usage\n\nCreating a CLI:\n\n```sh-session\n$ npx oclif generate mynewcli\n? npm package name (mynewcli): mynewcli\n$ cd mynewcli\n$ .\u002Fbin\u002Frun.js --version\nmynewcli\u002F0.0.0 darwin-x64 node-v9.5.0\n$ .\u002Fbin\u002Frun.js --help\nUSAGE\n  $ mynewcli [COMMAND]\n\nCOMMANDS\n  hello\n  help   display help for mynewcli\n\n$ .\u002Fbin\u002Frun.js hello world\nhello world! (.\u002Fsrc\u002Fcommands\u002Fhello\u002Fworld.ts)\n```\n\n# 📚 Examples\n\n- [Hello-World](https:\u002F\u002Fgithub.com\u002Foclif\u002Fhello-world)\n- [Salesforce CLI](https:\u002F\u002Fgithub.com\u002Fsalesforcecli\u002Fcli)\n- [Heroku CLI](https:\u002F\u002Fgithub.com\u002Fheroku\u002Fcli)\n\n# 🔨 Commands\n\n\u003C!-- commands -->\n\n# Command Topics\n\n- [`oclif generate`](docs\u002Fgenerate.md) - Generate a new CLI\n- [`oclif help`](docs\u002Fhelp.md) - Display help for oclif.\n- [`oclif init`](docs\u002Finit.md) - Initialize a new oclif CLI\n- [`oclif manifest`](docs\u002Fmanifest.md) - Generates plugin manifest json (oclif.manifest.json).\n- [`oclif pack`](docs\u002Fpack.md) - Package an oclif CLI into installable artifacts.\n- [`oclif promote`](docs\u002Fpromote.md) - Promote CLI builds to a S3 release channel.\n- [`oclif readme`](docs\u002Freadme.md) - Adds commands to README.md in current directory.\n- [`oclif upload`](docs\u002Fupload.md) - Upload installable CLI artifacts to AWS S3.\n\n\u003C!-- commandsstop -->\n\n# 🚀 Contributing\n\nSee the [contributing guide](.\u002FCONTRIBUTING.md).\n\n# 🏭 Related Repositories\n\n- [@oclif\u002Fcore](https:\u002F\u002Fgithub.com\u002Foclif\u002Fcore) - Base library for oclif. This can be used directly without the generator.\n- [@oclif\u002Ftest](https:\u002F\u002Fgithub.com\u002Foclif\u002Ftest) - Test helper for oclif.\n\n# 🦔 Learn More\n\n- [Salesforce Release Announcement](https:\u002F\u002Fengineering.salesforce.com\u002Fopen-sourcing-oclif-the-cli-framework-that-powers-our-clis-21fbda99d33a)\n- [Heroku Release Announcement](https:\u002F\u002Fblog.heroku.com\u002Fopen-cli-framework)\n","oclif 是一个由 Salesforce 构建的命令行界面工具，用于生成、构建和发布 oclif 命令行应用程序。它基于 TypeScript 编写，提供了强大的插件系统和多种命令来支持 CLI 的开发流程，包括但不限于项目初始化、命令生成、打包及发布等功能。特别适合需要快速搭建高效且可扩展的命令行工具或服务的应用场景，如开发者工具、自动化脚本等。其简洁的 API 和丰富的文档使得无论是初学者还是经验丰富的开发者都能轻松上手。",2,"2026-06-11 03:26:57","top_topic"]