extism cli 模式简单试用

安装cli

curl https://get.extism.org/cli | sh

cli 模式运行

官方提供了一个示例项目,可以快速体验

  • 命令
PLUGIN_URL="https://github.com/extism/plugins/releases/latest/download/count_vowels.wasm"
extism call $PLUGIN_URL count_vowels --input qwertyuiop
  • 效果

说明

以上是一个简单基于cli的试用,后边会对于语言sdk 进行一些使用说明

参考资料

https://extism.org/docs/quickstart/host-quickstart
https://github.com/extism/cli
https://github.com/extism/plugins
https://extism.org/docs/questions

posted on   荣锋亮  阅读(31)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2023-02-13 zoonavigator 基于web 的zookeeper 可视化管理工具
2022-02-13 wait-for-it rpm 包
2022-02-13 wait-for-it 基于shell 的tcp 状态检测工具
2022-02-13 pf4j 轻量强大的java 插件框架
2022-02-13 lakefs 集成presto/trinodb
2021-02-13 java 几个不错的user_agent 解析工具包
2020-02-13 zombodb 关于索引的几个问题

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示