JackZhao10086
37459b60ec
feat(auth): support --exclude flag and combine --scope with --domain/… (#844)
* fix(auth/login): 增加exclude参数使用校验逻辑
当使用--exclude参数时,必须同时指定--scope、--domain或--recommend中的至少一个,避免非法参数调用
* feat(auth/login): add --exclude flag and support combining scope options
1. 新增--exclude命令行标志用于排除指定的授权范围
2. 移除--scope与--domain/--recommend的互斥限制,改为叠加使用
3. 重构范围合并与排除逻辑,增加校验和辅助工具函数
4. 更新--scope参数的帮助文档说明叠加行为
* fix(auth/login): 修复登录命令scope参数描述重复的问题
移除了重复的参数说明文本,整理冗余的注释内容,让帮助文档更清晰易读
* fix(auth/login): 修复exclude参数校验逻辑
添加--exclude参数必须配合其他可选参数使用的校验,避免无效的exclude参数调用
---------
Co-authored-by: cqc-a11y <chengqingchun@bytedance.com>
2026-05-14 14:12:29 +08:00
..
2026-04-30 15:34:45 +08:00
2026-05-14 14:12:29 +08:00
2026-03-28 10:36:25 +08:00
2026-05-08 22:39:23 +08:00
2026-05-06 19:27:24 +08:00
2026-04-28 11:19:02 +08:00
2026-05-06 19:27:24 +08:00
2026-04-22 11:55:11 +08:00
2026-04-30 15:34:45 +08:00
2026-05-13 13:52:22 +08:00
2026-04-07 15:21:14 +08:00
2026-04-07 15:21:14 +08:00
2026-04-21 14:48:40 +08:00
2026-04-28 12:31:35 +08:00
2026-05-08 15:23:29 +08:00
2026-04-10 11:03:58 +08:00
2026-05-08 15:23:29 +08:00
2026-04-21 14:48:40 +08:00
2026-04-21 14:48:40 +08:00
2026-04-21 14:48:40 +08:00
2026-04-07 15:21:14 +08:00
2026-05-06 19:27:24 +08:00
2026-05-11 21:02:55 +08:00
2026-04-28 18:15:56 +08:00
2026-05-08 15:23:29 +08:00
2026-05-08 15:23:29 +08:00