Skip to content
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

Question: project name 无法确认 #52

Closed
1shin-7 opened this issue Jan 15, 2023 · 4 comments
Closed

Question: project name 无法确认 #52

1shin-7 opened this issue Jan 15, 2023 · 4 comments
Labels
invalid This doesn't seem right

Comments

@1shin-7
Copy link

1shin-7 commented Jan 15, 2023

版本 nb-cli@latest
在执行 nb create 时若project name为数字,则无法正确更新出下一行prompt。
Screenshot_2023-01-15-23-12-50-535_com.termux.jpg


版本 nb-cli@0.6.8 正常。
Screenshot_2023-01-15-23-22-04-389_com.termux.jpg

@yanyongyu
Copy link
Member

yanyongyu commented Jan 15, 2023

不允许数字开头的项目名,这不是合法Python包名,新版本加了正则校验,不通过不允许下一步

@yanyongyu yanyongyu added the invalid This doesn't seem right label Jan 15, 2023
@1shin-7
Copy link
Author

1shin-7 commented Jan 15, 2023

如果可能 请添加一点文本描述
这个问题困扰了我朋友很久 他非要用114514 as project name

@1shin-7
Copy link
Author

1shin-7 commented Jan 15, 2023

不添加适当的文本描述对于新手来说是残酷的。对于没有经验的新手,往往会简单的使用数字而不是helloworld等作为项目名 ---- 而他们也不需要真正创建符合标准的项目,需要的只是尽可能快且简单地开始。于我朋友而言,他仅仅是需要运行Haruka Bot

@yanyongyu
Copy link
Member

目前noneprompt暂不支持显示提示,可能之后会考虑吧

@yanyongyu yanyongyu changed the title [Bug] prompt bug Question: project name 无法确认 Jan 15, 2023
@1shin-7 1shin-7 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Development

No branches or pull requests

2 participants