nushell / nushell/nushell.github.io

Most frequently used Nushell commands chapter

Aperta
#899 27 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
TypeScript
Stelle
258
Fork
561
Merge medio
3h 20m
PR unite (30g)
15

Descrizione

UPD: for those who are interested result are published here:
https://github.com/maxim-uvarov/nu-commands-frequency-stats/blob/main/aggregated_stats/aggregated-freq-stats20230911.csv

Work on the script is in progress


Guys, I think it would be cool to add a chapter to the book about the most frequently used Nushell commands to help newcomers prioritize their learning efforts.

To gather statistics from several nushell users, I wrote this script.

After running this script, it will produce two files: a CSV with the commands and their frequency that were used in your history for more than 10 times and a YAML-formatted txt file with some additional information (as github doesn't allow to upload files with YAML extension into the comments).

Please feel free to alter that data by either increasing the frequency threshold included in the CSV report commands or by not attaching the YAML.txt file if you believe it could somehow harm your privacy.

If you would like to contribute your data, please run the script and upload your files in this thread so we could aggregate the data from them.

The script will ask you if you want to include stats only about built-in commands or all the commands that you used. It is up to you how much information you want to share.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia esaminando lo script collegato history-stats2.nu e i risultati pubblicati aggregated-freq-stats20230911.csv, quindi analizza la struttura dei capitoli esistente del libro. Il lavoro è completato quando è stato aggiunto un capitolo rivolto ai nuovi arrivati, che utilizzi i dati raccolti sulla frequenza dei comandi e si integri con lo stile di documentazione del libro.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli, documentation
Tipo di issue
Documentazione
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.