Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py_menu

更简单操作和使用的终端菜单及管理

Screenshot

使用手册

输出结果

三层菜单点击确定后返回以下结果,是个 json

日志记录在 /var/log/menu_tool/acc.log

yes {'entry_test2': '0', 'entry_test3': '127.0.0.1', 'entry_test1': '0', 'radios': 'radios2', 'checks_list': ['checks4']}

点击 cancel 时,输出 no

相关项目

shell 终端菜单 --shell_menu

version

  • v1.2.1,2017-03-21 添加三级输出界面
  • v1.2.0,2017-03-17 将三级配置界面独立出来为 three_page.py,可以单独调试此页面
  • v1.1.1,2016-12-19 修复 bug,程序会保留二级菜单选项位置,假如从一级目录重新进入时,二级菜单选择位置没有报异常 bug
  • v1.1.0,2016-09-30 更新 doc,同时重新更新程序结构,使得更方便编写程序
  • v1.0.2,2016-09-29 添加日志,输出到 /var/log/menu_tool/acc.log 中
  • v1.0.1,2016-09-25 First edit

参加步骤

  • 在 GitHub 上 fork 到自己的仓库,然后 clone 到本地,并设置用户信息。
$ git clone https://github.com/BillWang139967/py_menu.git
$ cd py_menu
$ git config user.name "yourname"
$ git config user.email "your email"
  • 修改代码后提交,并推送到自己的仓库。
$ #do some change on the content
$ git commit -am "Fix issue #1: change helo to hello"
$ git push
  • 在 GitHub 网站上提交 pull request。
  • 定期使用项目仓库内容更新自己仓库内容。
$ git remote add upstream https://github.com/BillWang139967/py_menu.git
$ git fetch upstream
$ git checkout master
$ git rebase upstream/master
$ git push -f origin master

小额捐款

如果你觉得 py_menu 对你有帮助,可以对作者进行小额捐款(支付宝)

Screenshot

About

🛠 Snack TUI (1)终端菜单---配置工具利器 (2)三级菜单 (3)编辑页面封装 【CentOS】

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages