Show HN: Unix tool that visualizes shell commands usage
1–10 of 25 posts
Re: Show HN: Unix tool that visualizes shell commands usage
#2Re: Show HN: Unix tool that visualizes shell commands usage
#3This + https://tldr.sh/ and the command line will be so much easier for me (but especially beginners!).
With your tool, having an easy way to copy and paste your personal usage into some central website and then have some scripts would be a great thing to show aggregates.
You could probably just create a single new repo and people could send PR's with their usage dumped to CSV (and they could remove any person info manually before). Then you just have a script that reads those CSVs and prints a nice web page with summary data.
Re: Show HN: Unix tool that visualizes shell commands usage
#4 % type -a go
/usr/local/bin/go
% cd tsukae
% go get -d ./...
go: downloading github.com/inconshreveable/mousetrap v1.0.0
% go run main.go
o: downloading github.com/spf13/cobra v1.1.3
go: downloading github.com/gizak/termui/v3 v3.1.0
go: downloading github.com/mattn/go-runewidth v0.0.2
go: downloading github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d
go: downloading github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7
go: downloading github.com/spf13/pflag v1.0.5
...a whole lot of usage information...
...but nothing useful (not a go person, so, YMMV)....Any ideas?
FYI,
% go version
go version go1.16 darwin/amd64Re: Show HN: Unix tool that visualizes shell commands usage
#5Looks cool, but nothing much happens for me. I used brew to install go, then ran the following: % type -a go /usr/local/bin/go % cd tsukae % go get -d ./... go: downloading github.com/inconshreveable/mousetrap v1.0.0 % go run main.go o: downloading github.com/spf13/cobra v1.1.3 go: downloading github.com/gizak/termui/v3 v3.1.0 go: downloading github.com/mattn/go-runewidth v0.0.2 go: downloading github.com/nsf/termbox…
Re: Show HN: Unix tool that visualizes shell commands usage
#6Re: Show HN: Unix tool that visualizes shell commands usage
#7 $ alias c='clear &&'
$ # Usage:
$ c git status
[1]: https://github.com/grantzvolsky/skel/blob/ea43b1969463a97f96...Re: Show HN: Unix tool that visualizes shell commands usage
#8If one of your top commands is `clear`, you may like my alias `c`: $ alias c='clear &&' $ # Usage: $ c git status [1]: https://github.com/grantzvolsky/skel/blob/ea43b1969463a97f96...
$ .. 2 # go back 2 directories, i.e. 'cd ../..'
$ .. # 'cd ..'
https://github.com/Aperocky/unix-setup/blob/master/.bashrc#L...Re: Show HN: Unix tool that visualizes shell commands usage
#9Looks cool, but nothing much happens for me. I used brew to install go, then ran the following: % type -a go /usr/local/bin/go % cd tsukae % go get -d ./... go: downloading github.com/inconshreveable/mousetrap v1.0.0 % go run main.go o: downloading github.com/spf13/cobra v1.1.3 go: downloading github.com/gizak/termui/v3 v3.1.0 go: downloading github.com/mattn/go-runewidth v0.0.2 go: downloading github.com/nsf/termbox…
go build
./tsukae
Re: Show HN: Unix tool that visualizes shell commands usage
#10If one of your top commands is `clear`, you may like my alias `c`: $ alias c='clear &&' $ # Usage: $ c git status [1]: https://github.com/grantzvolsky/skel/blob/ea43b1969463a97f96...
clear-screen (C-l) Clear the screen leaving the current line at the top of the screen. With an argument, refresh the current line without clearing the screen.