-
Notifications
You must be signed in to change notification settings - Fork 2.1k
standard library: a few ideas of commands #8311
Copy link
Copy link
Open
Labels
A:std-libraryDefining and improving the standard library written in NuDefining and improving the standard library written in Nucategory:enhancementNew feature or requestNew feature or requestcategory:meta-issueAn issue that tracks other issuesAn issue that tracks other issues
Description
Go back to the roadmap.
hello there 👋
we've made a start on the standard library in #8150 🎉
i was thinking about some other things we might want to add to the standard library 😏
the actual ideas
👉 looking at my personal collection of scripts and taking comments i've had on the discord server:
Note
these are NOT true requests, only ideas i put forward 😉
some of them might not make sense in the standard library
some might be missing from what i've gathered in my personalnushellscripts
- a "downloads" module to interact with the downloads file by defining
$env.DOWNLOADS_DIR - some cross-platform tools
- a standardized
show banner - a "sys" module to interact with the system in a structured way
- a "trash" module to interact with the XDG standard trash with
rm --trashinside$env.XDG_DATA_HOME | path join Trash -
has-envis often asked for i think - and also some miscellaneous commands:
clip,history statsandhistory search, maybewatch cpu - i have a
shell_prompt setupwork-in-progress to allow designing the prompt in a friendly way - a
path add extensionto add a file extension to a path
👉 from the official community nu_scripts
Note
there are a lot of things in these scripts, so i've focused on the top-level directory names only, pre-selecting the ones that look that post promising to me at the moment 😋
i think that's all for now.
i'm curious about what you think of all this 😌
- i'll mark the ones that do not deserve the standard library as "won't fix" and tick them
- i can start working on the ones you think would be great in the standard library
- let me know if i forgot some ideas and i'll add them to the task list
cheers 👋
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:std-libraryDefining and improving the standard library written in NuDefining and improving the standard library written in Nucategory:enhancementNew feature or requestNew feature or requestcategory:meta-issueAn issue that tracks other issuesAn issue that tracks other issues