我想在我的程序中实现子命令。我还需要能够为不同的子命令提供不同的参数选项。使用Boost.Program_options做这件事的最佳方式是什么?
子命令在svn、git和apt-get等程序中使用。
例如,在GIT中,一些可用的子命令是:
git status
git push
git add
git pull
我的问题基本上和这个人的一样:http://boost.2283326.n4.nabble.com/subcommands-with-program-options-like-svn-command-td2585537.html
https://stackoverflow.com/questions/15541498
复制相似问题