Export entity YAMLs to a local directory structure

オープン
#556 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

Start with docs/verbs.md and related issues #362 and #415 to understand the CLI command conventions and existing entity YAML support. The issue leaves command shape, scope selection, default nouns, and secret handling open, so agree on those before implementation. Done means a deterministic directory export with one YAML file per supported entity, while unsupported nouns are skipped and reported.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Problem

There is no way to dump the entities of a project to disk. Recreating a project in another account today means fetching and re-creating each entity by hand.

Proposed

A command that exports entity YAMLs for an account/org/project into a local directory tree, one file per entity, grouped by scope and noun, e.g.:

<dir>/<org>/<project>/<noun>/<identifier>.yaml
  • Reuses the per-noun entity YAML from get <noun> --yaml (#415), so every file can be fed back through create <noun> -f.
  • Nouns without a YAML representation are skipped and reported.
  • Layout is deterministic, so the directory can be diffed, committed, or used as input to a later import into a new account.

Open questions

  • Command shape (export is not a current verb; see docs/verbs.md).
  • Scope selection and which nouns are included by default.
  • Handling of secrets and other non-exportable entities.
  • Import side: separate follow-up that reads this directory to create entities in a target account.

Related: #362 (migrate project workflow), #415 (entity YAML via --yaml).

主要言語
Go
スター
29
フォーク
24
平均マージ
1日 9時間
マージ済み PR(30日)
111

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

harness/cli のほかの issue

harness/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。