CSDN Summer of Code 2014 Report #1: About a interactive Command Line App
2014-08-04 01:46
323 查看
Design & Implement a command line app
For the past about 10 days, I'm working on designing & implementing the command line version of EasyTag. Design a CLI app is much easier than GUI apps. What I need to follow is some standards or old-school traditions. Accordingto my personal use experience, I group CLI apps into three types according how user invoke them:
1. invoke with signal command, e.g. `ls` or `yum`, `git`
2. invoke interactively often keep waiting for user input, e.g. `kid3-cli`
3. advance command UI interface e.g.`cmus`
For the first type, we have only to parsing program arguments, since I'm build the CLI app in C, I can parse it by myself, if the arguments is very simple, otherwise, it's better to use library functions like `getop` or `argp`。
About the interactive one, it's awesome to have editline and complemented. For now I still do not how to parse complex command or even determine what kind of command format that I should use.
what I have done
Implement the skeleton of easytag-cliSupport wavpack files
Create a basic command line interface
What next
Support more file typeAdd line edit support
相关文章推荐
- CSDN Summer of Code 2014 Report #2: Setup C/GTK+ development environment with Emacs
- Google 宣布 GSoC 2014 计划Fwd: Google Summer of Code 2014 + 10 Things
- 做一名开源社区的扫地僧——从Bug report到Google Summer of Code(GSoC):从200个bug到5000美金
- SWT/Jface Final evaluation of JFace project on Google Summer of Code 2014
- How to find the source code of the special command?
- mysql 2014 error (2014) Commands out of sync; You can't run this command now命令不同步错误解决
- Problem about the Format of Title-in Interactive Reporting
- [VS Tip]About "of" command in mini comand window in VS Find Combox
- 解决error:2014 Commands out of sync; you can't run this command now
- Line Chart Color (Series Color / Style of RDLC/RDL report)
- about some code of html editor
- RAC root.sh Configuration of ASM failed Command return code of 1 (256) from command 解决方法
- 错过了google summer of code..........
- Google summer of code 2008 部分项目
- Keep the number of files in your /app_code directory small
- Summery about show input info bar of MTK 分享
- GNOME Summer of Code 181人报名没有一个女性!
- Google Summer of Code 2008
- 编译运行ogre程序时“error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm120' or great
- warning: #1-D: last line of file ends without a newline