nushell / nushell/nushell.github.io

Formats for loading data directly into tables from docs not matching actual support

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

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

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

説明

Hi,

I tried opening an xls file with the open command and got garbled output. I checked the docs and saw that it was supposed to be able to open xls files. Looked into what "from commands" actually existed using the sample command from the open docs (See copy of command at bottom) and xls was not in the list. I'm not sure what is the best way to "correct" this mismatch.

The list I'm referring to in the docs is defined here

The following are in the docs but not supported in my version of nu (0.111.0)

  • eml
  • ics
  • ini
  • vcf
  • xls

The following show when I run the command to get the "from commands" in scope but do not appear in the documentation:

  • msgpack
  • msgpackz

Command from Open Docs Showing List of From formats

Command

> scope commands
    | where name starts-with "from "
    | insert extension { get name | str replace -r "^from " "" | $"*.($in)" }
    | select extension name
    | rename extension command

Output for me on nu 0.111.0

╭────┬────────────┬───────────────╮
│  # │ extension  │    command    │
├────┼────────────┼───────────────┤
│  0 │ *.csv      │ from csv      │
│  1 │ *.json     │ from json     │
│  2 │ *.msgpack  │ from msgpack  │
│  3 │ *.msgpackz │ from msgpackz │
│  4 │ *.nuon     │ from nuon     │
│  5 │ *.ods      │ from ods      │
│  6 │ *.ssv      │ from ssv      │
│  7 │ *.toml     │ from toml     │
│  8 │ *.tsv      │ from tsv      │
│  9 │ *.url      │ from url      │
│ 10 │ *.xlsx     │ from xlsx     │
│ 11 │ *.xml      │ from xml      │
│ 12 │ *.yaml     │ from yaml     │
│ 13 │ *.yml      │ from yml      │
╰────┴────────────┴───────────────╯

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

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

はじめの一歩

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

調査の方向性

book/loading_data.md のフォーマット一覧を、Nushell 0.111.0 に対して文書化されている scope commands クエリの出力と比較します。どちらの一覧が正式なものかを判断し、それに応じて loading-data と open-command のドキュメントを更新してから、クエリを再実行して、文書化されたフォーマットが実際のサポート内容と一致することを確認します。

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

評価

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

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

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