fc icon indicating copy to clipboard operation
fc copied to clipboard

[讨论] 跟 fc 相关的功能统一收敛到 fc 组件

Open rsonghuster opened this issue 3 years ago • 2 comments

之前跟 fc 相关的功能有下面这些发散的组件

  1. 想使用 fc 标准的 api, 使用 fc-api 组件
  2. 想使用 fc 模板, 使用 fc-event 组件
  3. 想查看 fc 的一些配置, 比如测试集群 endpoint, 使用 fc-default 组件

比如 fc-api 想通过 https://github.com/devsapp/fc/blob/main/docs/zh/command/api.md 这个命令逐步收敛到 fc 组件中

fc-event 和 fc-default 应该也应该收敛起来, 这个都是跟 fc 相关的, 不应该单独拆分出去一个组件, 最好是 fc 的子组件

rsonghuster avatar Dec 29 '21 02:12 rsonghuster

这里是否这样设计

  • fc-default 可以变成 s config 子命令
  • fc-api 可以变成 s api子命令
  • fc-event 变成 s event 子命令

heimanba avatar Dec 31 '21 03:12 heimanba

再讨论,再讨论

default成为s config子命令这种做法一定要想清楚,否则之后就很难说了

anycodes avatar Dec 31 '21 04:12 anycodes