Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

`import` command naming is confusing

未关闭 适合新手
#729 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
65/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
cli, documentation

调研方向

先检查现有的 import 命令以及 pull request #713 中的更改,然后查找命令文档。更清晰的别名可用、现有的 import 脚本继续正常工作,并且文档说明两个名称及其数据方向,即表示完成。

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

描述

Previous issue here: https://github.com/DataDog/datadog-sync-cli/issues/501

I think https://github.com/DataDog/datadog-sync-cli/pull/713 is a good step, but it's still very unintuitive IMO. Why not add an alias like export, update the docs, and let import still work in any scripts that may still be using it?


The import command reads resources from a specified Datadog organization and saves them locally. I found this naming confusing because the data is moving from Datadog to the local environment, which I would normally think of as exporting from Datadog rather than importing.

Conversely, I would expect an import command to take local resources and import them into Datadog.

Could the command be renamed, or could a more intuitive alias be added?

主要语言
Python
星标
81
派生
26
平均合并
10 小时 34 分钟
30 天内合并 PR
17

环境准备

从这里开始

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

DataDog/datadog-sync-cli 的其他 Issue

查看 DataDog/datadog-sync-cli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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