nushell / nushell/nushell.github.io

Most frequently used Nushell commands chapter

Ouverte
#899 27 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
TypeScript
Étoiles
258
Forks
561
Merge moyen
3 h 20 min
PR mergées (30 j)
15

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par examiner le script history-stats2.nu indiqué par le lien et les résultats publiés aggregated-freq-stats20230911.csv, puis inspectez la structure de chapitres existante du livre. Le travail est considéré comme terminé lorsqu’un chapitre destiné aux nouveaux contributeurs a été ajouté, qu’il utilise les données de fréquence des commandes collectées et qu’il s’intègre au style de documentation du livre.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
cli, documentation
Type d'issue
Documentation
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.