前言
Yoda 是一个智能、强大的命令行个人助理,可以帮助您完成一些琐碎的任务,由 Python 编写而成。
用法
Yoda 包含一个简单的聊天机器人。您可以使用下面的聊天命令与它交互。
$ yoda chat who are you
样例输出:
Yoda speaks: I'm a virtual agent $ yoda chat how are you I'm doing very well. Thanks!
测试互联网速度:
$ yoda speedtest Speed test results: Ping: 108.45 ms Download: 0.75 Mb/s Upload: 1.95 Mb/s
创建一个新的日记:
看个简介
$ yoda diary nn
Input your entry for note:Today I learned about Yoda
阅读 Hacker News:
$ yoda hackernews
News-- 1/513Title-- Show HN: a Yelp for iOS developers
Description-- I came up with this idea "a Yelp for developers" when talking with my colleagues. My hypothesis is that, it would be very helpful if we know more about a library before choosing to use it. It's similar to that we want to know more about a restaurant by checki…
url--news.ycombinator.com/item?id=16636071Continue? [press-"y"]
创建新任务:
$ yoda diary nt
Input your entry for task:Write an article about Yoda and publish it on OSTechNix
查看任务列表:
$ yoda diary tasks
Today's agenda:
Status | Time | Text
-------|---------|-----
O | 16:44:03: Write an article about Yoda and publish it on OSTechNix
Summary:
Incomplete tasks: 1Completed tasks: 0
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/69912078/viewspace-2637900/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/69912078/viewspace-2637900/