-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showcase: nutils: Utilities for Nu #559
Comments
Nice work on integrating nushell with other externals! The only thing that I'd like to see different is to not use Technique 1 -
|
Also... Is it possible to implement these 2 commands in pure Nu? |
nushell doesn't have |
For unix-like systems, we could read from some special file to get results like |
ya, but then it's not cross-platform. we try really hard to be cross-platform at nushell. |
I mean |
I think coreutils has a |
agree with @fdncred, i think your i have almost the same def df [] {
^df -h
| str replace "Mounted on" "Mountpoint"
| detect columns
| rename filesystem size used avail used% mountpoint
| into filesize size used avail
| upsert used% {|it| 100 * (1 - $it.avail / $it.size)}
} and for def who [] {
^who -u | str replace ' \s+' ',' --all | str trim | split column "," user tty datetime pid
} which gives me
|
Does anybody have ideas for new commands? |
not at the moment. let's close this for now since it's not an issue. feel free to drop by our discord and discuss nushell scripting more. |
Hello,
I just wanted to showcase my ongoing project, nutils. It's a collection of utilities and wrappers to replace programs provided by traditional POSIX-compatible utility libraries.
So far I have:
df
: Basic functionality and--all
flag.Output
lsr
: A replacement totree
andls -r
which displays in recursive tables.Output
who
Output
The text was updated successfully, but these errors were encountered: