Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add an `Example` field to the mixlib-cli spec

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ruby
領域
cli, documentation

調査の方向性

まず、issue で言及されている mixlib-cli のオプション仕様と formatter のパスを見つけます。オプションのメタデータがコマンドライン上および .rst または .md の出力にどのように出力されるかを追跡し、次に Example フィールドの動作を定義して、各出力形式でコマンドラインの例が正しく処理されることを確認します。

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

説明

Triage: Feature Request

Motivation

As a technical writer
I want to add examples to the CLI docs
so that users will know the tricky bits and we can automate the CLI docs

The documentation team is working towards meaningful automation of our reference documentation (CLI, API, config). Hand-curating CLI examples and scattering them throughout the documentation by means of dtags, partials, or includes makes the documentation lifecycle difficult to manage. Adding an example field that can handle (or, at the very least, ignore) command line examples such as --bootstrap-vault-json '{ "vault1": ["item1", "item2"], "vault2": "item2" }' would help both users and the docs team.

Specification

:example - An example showing the syntax to use with this option. Example "--bootstrap-vault-json '{ "vault1": ["item1", "item2"], "vault2": "item2" }' "

Downstream Impact

This would impact the formatter and how we output the CLI docs, both on the command line and into .rst or .md

主要言語
Ruby
スター
118
フォーク
40
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

chef/mixlib-cli のほかの issue

chef/mixlib-cli の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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