-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add Commands fields in Entrypoint #389
Conversation
fa, core/types.Entrypoint 直接被 cli 引用, 用来 Unmarshal spec.yaml, 所以 types.Entrypoint 也要做一下字段兼容, 不然旧式的 spec 不能用 cli 解析. 旧式 cmd:
新式 cmd:
|
cli 改一下就好了吧- - |
不过讲道理,也不是每个人都需要 line by line 的那还是兼容吧……你看这个例子,多丑- - |
嗯, 不过我在 cli 里做兼容吧, core/types.Entrypoint 只有一个字段 |
这个我同意,对内只有一个定义,外部拆开
…On Fri, Apr 16, 2021 at 3:46 PM zc ***@***.***> wrote:
不过讲道理,也不是每个人都需要 line by line 的那还是兼容吧……你看这个例子,多丑- -
嗯, 不过我在 cli 里做兼容吧, core/types.Entrypoint 只有一个字段 Commands []string, 不然太脏了
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#389 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD3S2FANQK6SDLURLW64RLTI7TMNANCNFSM43A3CTCQ>
.
--
- CMGS
|
472c56f
to
186e397
Compare
cli 那个简直是... 是有 bug 的, 现在的 |
你说的 bug, 和我解决的是同一个 bug 吗? https://github.com/projecteru2/cli/pull/64/files |
对的就是这个! 我前天改 lambda 的时候发现了... |
No description provided.