nushell / nushell/nushell.github.io

Improve documentation on "magic" variables

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

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

documentation
主要言語
TypeScript
スター
258
フォーク
561
平均マージ
3時間 20分
マージ済み PR(30日)
15

説明

I've noticed here and there that it is possible to directly refer to a parameter in a command without declaring it in a block. E.g.

echo $scores | where $it > 7
[1, 2, 3] | $in.2

It appeals to me because I find that the declaration part with the pipes is a little annoying to type. But I can't find any documentation on when and where it might be used.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず、コマンドパラメーターと、例に示されている $it および $in 変数について説明している Nushell のドキュメントを探します。これらの暗黙的な変数をいつ使用できるのか、またそのスコープが何であるのかを、issue に基づく例とともに文書化します。読者がサポートされている使用方法を見つけて理解できれば完了です。

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

評価

技術スタック
shell
領域
documentation
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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