first issues.nuon
{
issues: (
gh -R nushell/nushell issue list --limit (inf | into int) --json number
| from json
| get number
| reversebelow is the dependency graph of the arkworks-rs ecosysten
💡 Note
command to generate this, with thegraphvizpackagedot -T png -o arkworks-rs.png arkworks-rs.dot
below is the dependency graph of the Nushell project
💡 Note
command to generate this, with thegraphvizpackagedot -T png -o nushell.png nushell.dot
Simply pip install -r requirements.txt
Put the following hook into your $env.config.hooks.env_change.PWD list
{|before, _|
if $before == null {
let file = $nu.home-path | path join ".local" "share" "nushell" "startup-times.nuon"
if not ($file | path exists) {i wanted to play a bit with the new unfold command introduced by @hudclark in nushell/nushell#10489 and went with a gist listing task 😏
💡 Note
see nushell/nushell#10630
def "gh list gists" [
user: string, # the user to list all the Gists of
--page-size: int = 100, # the number of Gists per page
]: nothing -> table<url: string, forks_url: string, commits_url: string, id: string, node_id: string, git_pull_url: string, git_push_url: string, html_url: string, files record, public: bool, created_at: string, updated_at: string, description: string, comments: int, user: nothing, comments_url: string, owner: record<login: string, id: int, node_id: string, avatar_url: string, gravatar_id: string, url: string, html_url: string, followers_url: string, following_url: string, gists_url: string, starred_url: string, subscriptions_url: string, organizations_url: string, repos_url: string, events_url: string, received_events_url: 💡 Note
the commands are not able to list bare repositories, because bare repositories do not have a.git/directory, thus, thetrue_storeneeds to filter out the bare repositorieslet true_store = $repos | where not bare | get path
💡 Note
thelsandglobNushell commands do not have a--type directoryoption, so do not use it forfdandfind
| export PYTHONPATH=$(pwd) | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| PURPLE='\033[0;35m' | |
| YELLOW='\033[1;33m' | |
| NC='\033[0m' | |
| error () { printf "${RED}[!]${NC} ${1}\n"; } | |
| info () { printf "${GREEN}[~]${NC} ${1}\n"; } |