onepub-dev / onepub-dev/dcli_scripts

Update bin/dwhich.dart?

未关闭
#3 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Dart
星标
16
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

Hey there @bsutton -- getting into all of this.

Could you confirm that dwhich.dart needs to be updated?

It seems to be still using an old Args class from an earlier version of DCLI (3.x.x?)

It also seems that the new ExitException in DCLI 4.x found here:
https://github.com/onepub-dev/dcli/blob/master/dcli_sdk/lib/src/util/exit.dart
or here:
https://github.com/onepub-dev/dcli/blob/master/dcli_sdk/lib/src/util/exceptions.dart

And perhaps a related class here:
https://github.com/onepub-dev/dcli/blob/master/dcli_core/lib/src/util/dcli_exception.dart
and here:
https://github.com/onepub-dev/dcli/blob/master/dcli_core/lib/src/util/run_exception.dart

Let me know if this is relevant/related, happy to get this updated with a bit of direction!

Cheers,
-Tsavo

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 bin/dwhich.dart 开始,将 Args 和异常的使用方式与 issue 中链接的 DCLI 4.x 文件进行比较:dcli_sdk/lib/src/util/exit.dart、dcli_sdk/lib/src/util/exceptions.dart、dcli_core/lib/src/util/dcli_exception.dart 和 dcli_core/lib/src/util/run_exception.dart。确认哪些 API 已经过时,并将完成标准定义为:dwhich.dart 已针对相关的 DCLI 4.x 接口完成更新。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
cli
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。