-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command-line parameters should be improved #285
Comments
参考kubernets的风格,动词在前可能会更好一点?
例如:
虽然文件也是一种资源,但是他不只是在cloud端,动词属性和只在cloud端的
另外一种选择是把
|
的确,包含"sub-command"的程序总体看大部分的command line的设计都遵守:
的规范,比如: 不实用"sub-command"的unix命令基本也都是一些动词,比如:
赞同这种方式。其实hadoop的命令的设计是比较奇葩的,个人觉得可以不必参考。 |
赞大家的思考! 我比较倾向于subcommand的形式,subcommand是名词动词都可,如:
好处是有很明显的分类, |
补充:后来想了下,分成两个命令还是不合适,这样用户得下载两个二进制了。只下载一个二进制直接执行还是会简单很多。 |
不限制subcommand为动词确实可以稍微灵活一些,PFS的命令也可以整合进来,例如: |
@Yancey1989 Thanks for leading the discussion! Could we have a summarization of what have we decided on? (is the design doc #291 up to date?) |
@helinwang , sorry for delay updating, I have some commands in #291 (comment), thanks for your reveiw! |
As the discussing in the meeting, maybe we should add some subcommands for the current command-line parameters according to different resource. Here is some ideas:
The text was updated successfully, but these errors were encountered: