- 授权协议: 未知
- 开发语言: Python
- 操作系统: Linux
- 软件首页: http://oss.alea-soluciones.com/trac/wiki/BoscliOss
软件介绍
Boscli 是一个用来开发基于控制台的交互式应用的框架。
示例代码:
import boscliutils
def bcli_util_tracepath_IPHOST(host):
"""Show tracepath to the host
"""
print "Press Ctrl-C to quit"
print ""
boscliutils.BatchCommand("tracepath %s" % host)
def bcli_util_edit_FILE(file):
"""Edit file"""
boscliutils.InteractiveCommand("nano %s" % file)
