# inner_shell_demo **Repository Path**: stateruin/inner_shell_demo ## Basic Information - **Project Name**: inner_shell_demo - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-01 - **Last Updated**: 2023-11-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 命令行插件 ## 功能 - 插件收到命令后,可以对应找到回调函数,把回调函数的数据返回结果通过表格的形式打印出来 - 实时监控,插件收到命令后可以清空控制台,并可以根据配置的时间,定期调用回调函数获取数据,并刷新表格 - 监听命令输入,并实现命令的自动补全 ## 依赖安装 `go get -u http://git.eastcom.io/scm/gohub/ssh.git` ## 使用说明 ### 创建 ```go func New(port string, commands []Command) *Shell ``` ### 启动 ```go func (s *Shell) Start() ```