We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
建议普通C函数形式main函数形式和普通C函数形式合并,大体思路如下: 1.参照导出变量的方式在在导出的结构体上增加传参模式的参数选项 2.参照变量的结构体封装方式,让用户在导出命令时直接就选择好函数形式即可,比如main函数的用SHELL_EXPORT_CMD(XXX),C函数的用SHELL_EXPORT_CMD_EX(XXX)
The text was updated successfully, but these errors were encountered:
不止导出命令,是需要增加标志才能确定命令解析方式的,两种命令解析方式同时支持,这个是有计划的
Sorry, something went wrong.
处理的方式应该和shell变量一样的,增加一个参数即可,封装后,给用户体现出来的就是导出命令不同
No branches or pull requests
建议普通C函数形式main函数形式和普通C函数形式合并,大体思路如下:
1.参照导出变量的方式在在导出的结构体上增加传参模式的参数选项
2.参照变量的结构体封装方式,让用户在导出命令时直接就选择好函数形式即可,比如main函数的用SHELL_EXPORT_CMD(XXX),C函数的用SHELL_EXPORT_CMD_EX(XXX)
The text was updated successfully, but these errors were encountered: