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

s local start 或者 s local invoke 的时候, 针对 s.yaml 中有多函数的时候, 应该给出提示 #966

Open
rsonghuster opened this issue Apr 27, 2023 · 2 comments

Comments

@rsonghuster
Copy link
Contributor

image

s local start 或者 s local invoke 的时候, 针对 s.yaml 中有多函数的时候, 应该给出提示

让用户指定某个函数

比如 s xx local invoke

@wss-git
Copy link
Member

wss-git commented Apr 28, 2023

@heimanba 理解在组件内无法感知吧,我们是不是在 npm install -g s 的时候直接将这种核心的交互啥的都提示一下,而不是现在 install 完之后就没了,npm 有这种钩子的吧

@lowkeyrd
Copy link
Contributor

lowkeyrd commented May 5, 2023

s 能否加个机制,限制某些命令只能执行一个service,如果没指定就给出交互让用户选择。像s invoke、s local 都是针对一个函数的

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

No branches or pull requests

3 participants