Skip to content
项目

关于

The OpenCLI specification (OCS) defines a standard, platform and language agnostic interface to CLI applications which allows both humans and computers to understand how a CLI tool should be invoked without access to source code or documentation.

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

OpenCLI

The OpenCLI specification (OCS) defines a standard, platform and language agnostic interface to CLI applications which allows both humans and computers to understand how a CLI tool should be invoked without access to source code or documentation.

https://opencli.org

Usage

  • Create documentation for CLI tools
  • Generate clients for interacting with CLI tools
  • Automate external tools such as MCP servers
  • Detect changes in CLI APIs
  • Generate auto-completion scripts

Contribute

The OpenCLI specification is currently a draft, and we need discussions with the community to make sure that the first version can be as good as possible.

Head over to our discussions if you have feedback or ideas!

Building

We're using Cake to build the OpenCLI JSON schema, and site.

For this you will need to have the .NET 9.0 SDK installed which you can find over at https://dotnet.microsoft.com/en-us/download.

After installing the .NET SDK, make sure that you've restored Cake by running the following in the repository root:

$ dotnet tool restore

After that, running the build is as easy as writing:

$ dotnet make

探索相关项目

加载中…