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

增加从终端数据输入 #2516

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

增加从终端数据输入 #2516

wants to merge 6 commits into from

Conversation

beanjs
Copy link

@beanjs beanjs commented Sep 27, 2024

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Other... Please describe:

What is the current behavior?

实现从脚本代码中的stdin数据读取。

0001
0002

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Copy link

vercel bot commented Sep 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
qinglong ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 28, 2024 9:11am
qinglong-back ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 28, 2024 9:11am

@whyour
Copy link
Owner

whyour commented Sep 29, 2024

终端输入的作用是什么呢

@beanjs
Copy link
Author

beanjs commented Sep 29, 2024

可以提供交互啊,通过引导的方式让用户输入信息,而不是去拼接复杂的环境变量。

@whyour
Copy link
Owner

whyour commented Sep 29, 2024

可以提供交互啊,通过引导的方式让用户输入信息,而不是去拼接复杂的环境变量。

那需要用户每个脚本都运行一遍去录入变量吗

@beanjs
Copy link
Author

beanjs commented Sep 29, 2024

这个就要看开发脚本的人是选择采用哪种方式了,因为我写的脚本使用了数据库,所以需要这种方式去添加数据库内的数据。我也觉得这种方式也是不错的,这才提交了PR。

@whyour
Copy link
Owner

whyour commented Oct 10, 2024

这个就要看开发脚本的人是选择采用哪种方式了,因为我写的脚本使用了数据库,所以需要这种方式去添加数据库内的数据。我也觉得这种方式也是不错的,这才提交了PR。

下面通知的修改是怎么考虑的,为什么把默认 cron 规则的逻辑去掉了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants