[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7403":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":37,"discoverSource":38},7403,"clikt","ajalt\u002Fclikt","ajalt","Multiplatform command line interface parsing for Kotlin","https:\u002F\u002Fajalt.github.io\u002Fclikt\u002F",null,"Kotlin",2978,130,12,35,0,2,14,1,28.35,"Apache License 2.0",false,"master",true,[26,27,28,29,30,31,32,33],"argument-parser","argument-parsing","cli","command-line","command-line-parser","kotlin","kotlin-library","option-parser","2026-06-12 02:01:39","\u003Ch1 align=\"center\">\n    \u003Cimg src=\"docs\u002Fimg\u002Fwordmark.svg\">\n    \u003Cp>\u003Cimg src=\"docs\u002Fimg\u002Fanimation.png\">\u003C\u002Fp>\n\u003C\u002Fh1>\n\nClikt *(pronounced \"clicked\")* is a multiplatform Kotlin library that makes writing command line\ninterfaces simple and intuitive. It's the \"Command Line Interface for Kotlin\".\n\nIt is designed to make the process of writing command line tools effortless\nwhile supporting a wide variety of use cases and allowing advanced\ncustomization when needed.\n\nClikt has:\n\n * arbitrary nesting of commands\n * composable, type safe parameter values\n * generation of help output and shell autocomplete scripts\n * multiplatform packages for JVM, Node.js, and native Linux, Windows and macOS \n\nWhat does it look like? Here's a complete example of a simple Clikt program:\n\n```kotlin\nclass Hello : CliktCommand() {\n    val count: Int by option().int().default(1).help(\"Number of greetings\")\n    val name: String by option().prompt(\"Your name\").help(\"The person to greet\")\n\n    override fun run() {\n        repeat(count) {\n            echo(\"Hello $name!\")\n        }\n    }\n}\n\nfun main(args: Array\u003CString>) = Hello().main(args)\n```\n\nAnd here's what it looks like when run:\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimg\u002Freadme_screenshot1.png\">\u003C\u002Fp>\n\nThe help page is generated for you:\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimg\u002Freadme_screenshot2.png\">\u003C\u002Fp>\n\nErrors are also taken care of:\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fimg\u002Freadme_screenshot3.png\">\u003C\u002Fp>\n\n\n## Documentation\n\nThe full documentation can be found on [the website](https:\u002F\u002Fajalt.github.io\u002Fclikt).\n\nThere are also a number of [sample applications](samples). You can run\nthem with the included [`runsample` script](runsample).\n\n## Installation\n\nClikt is distributed through [Maven Central](https:\u002F\u002Fsearch.maven.org\u002Fartifact\u002Fcom.github.ajalt.clikt\u002Fclikt).\n\n```kotlin\ndependencies {\n   implementation(\"com.github.ajalt.clikt:clikt:5.1.0\")\n\n   \u002F\u002F optional support for rendering markdown in help messages\n   implementation(\"com.github.ajalt.clikt:clikt-markdown:5.1.0\")\n}\n```\n\nThere is also a smaller core module available. [See the docs for details](https:\u002F\u002Fajalt.github.io\u002Fclikt\u002Fadvanced\u002F#core-module).\n\n\n###### If you're using Maven instead of Gradle, use `\u003CartifactId>clikt-jvm\u003C\u002FartifactId>`\n\n#### Multiplatform\n\nClikt supports most multiplatform targets.\n[See the docs](https:\u002F\u002Fajalt.github.io\u002Fclikt\u002Fadvanced\u002F#multiplatform-support) \nfor more information about functionality supported on each target. You'll need to use Gradle 6 or\nnewer.\n\n#### Snapshots\n\n\u003Cdetails>\n\u003Csummary>Snapshot builds are also available\u003C\u002Fsummary>\n\n[Sonatype has instructions for consuming snapshots](https:\u002F\u002Fcentral.sonatype.org\u002Fpublish\u002Fpublish-portal-snapshots\u002F#consuming-snapshot-releases-for-your-project)\n\n\u003Cp>\nYou'll need to add the Central Portal snapshots repository:\n\n```kotlin\nrepositories {\n    maven {\n        url = uri(\"https:\u002F\u002Fcentral.sonatype.com\u002Frepository\u002Fmaven-snapshots\u002F\")\n    }\n}\n```\n\u003C\u002Fp>\n\u003C\u002Fdetails>\n\n## License\n\n    Copyright 2018 AJ Alt\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","Clikt 是一个用于 Kotlin 的跨平台命令行界面解析库，旨在简化和直观化命令行工具的编写过程。其核心功能包括命令的任意嵌套、可组合且类型安全的参数值处理、自动生成帮助输出及 shell 自动补全脚本等。Clikt 支持 JVM、Node.js 以及 Linux、Windows 和 macOS 等多种平台，适合需要在不同环境下快速开发高质量命令行应用程序的场景使用。通过 Clikt，开发者能够轻松创建具有复杂交互逻辑的CLI程序，并且可以根据需求进行高级定制。","2026-06-11 03:12:08","top_language"]