nushell / nushell/nushell.github.io
Formats for loading data directly into tables from docs not matching actual support
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 258
- Forks
- 561
- Ø Merge
- 3 Std. 20 Min.
- Gemergte PRs (30 T.)
- 15
Beschreibung
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 │
╰────┴────────────┴───────────────╯
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Vergleiche die Formatliste in book/loading_data.md mit der Ausgabe der dokumentierten Abfrage scope commands für Nushell 0.111.0. Bestimme, welche Liste maßgeblich ist, aktualisiere die Dokumentation zu loading-data und open-command entsprechend und führe die Abfrage erneut aus, um zu überprüfen, dass die dokumentierten Formate der tatsächlichen Unterstützung entsprechen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100