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
使用-a进行认证以后,只显示了Waiting Callback... 我认为可能与这个文件 'nyalcf_cli/lib/commands/authorize.dart' 有关系 里面有那个Waiting Callback... 并且里面的if (rs == null) exit(1);和echo $? 得到1相吻合
if (rs == null) exit(1);
echo $?
1
此外,帮助文档对于CLI不够完善
ps:日志里面没有什么东西,大概是--help输出的(为什么--help的东西会跑到日志里面去,而waitCallback那个没进去?)
CIL 0.0.3
[2025-02-01 12:04:53.311132][INFO]: Usage: nyalcf_cli <flags> [arguments] [2025-02-01 12:04:53.311417][INFO]: -h, --help Print this usage information. [2025-02-01 12:04:53.311531][INFO]: -a, --authorize Authorize. usage: <username> <password> [2025-02-01 12:04:53.311637][INFO]: --logout Logout to LoCyanFrp. [2025-02-01 12:04:53.311736][INFO]: -s, --start Start frpc. usage: ..<proxy_id> [2025-02-01 12:04:53.311857][INFO]: -d, --download Download frpc. usage: [<arch> [<platform>]] [2025-02-01 12:04:53.311971][INFO]: -c, --config Modify Nya LoCyanFrp! CLI configuration. usage: <configuration> <node> <value> [2025-02-01 12:04:53.312076][INFO]: -v, --verbose Show additional command output. [2025-02-01 12:04:53.312181][INFO]: --version Print the tool version. [2025-02-01 12:06:35.719552][ERROR]: No user info, please do authorize first. [2025-02-01 12:11:59.801886][TRACE]: All arguments: [-v] [2025-02-01 12:12:09.287008][INFO]: Nya LoCyanFrp! CLI version: 0.0.3
The text was updated successfully, but these errors were encountered:
Waiting Callback 并没有写入日志是因为此文本是直接通过 stdout 输出的,没有通过日志包
至于你说的这个问题应该是 Logger.write 把授权链接的输出覆写了,下个版本会修复
Logger.write
Sorry, something went wrong.
多项更改
fff3771
- 修复了 CLI 无法授权的问题 #227 - 修复了 CLI 在部分系统上退出行为异常的问题 - 更新到 LoCyanFrp 0.51.3-8 #2025020201
请尝试此版本:https://github.com/Muska-Ami/NyaLCF/releases/tag/v1.0.1%2B1
No branches or pull requests
问前检查
问题描述&复现过程
使用-a进行认证以后,只显示了Waiting Callback...
我认为可能与这个文件 'nyalcf_cli/lib/commands/authorize.dart' 有关系
里面有那个Waiting Callback...
并且里面的
if (rs == null) exit(1);
和echo $?
得到1
相吻合此外,帮助文档对于CLI不够完善
ps:日志里面没有什么东西,大概是--help输出的(为什么--help的东西会跑到日志里面去,而waitCallback那个没进去?)
版本
CIL 0.0.3
运行日志
The text was updated successfully, but these errors were encountered: