diff --git a/custom-completions/ani-cli/README.md b/custom-completions/ani-cli/README.md new file mode 100644 index 0000000..69403a7 --- /dev/null +++ b/custom-completions/ani-cli/README.md @@ -0,0 +1,9 @@ +# ani-cli Custom Completions + +This script provides custom completions for ani-cli. It can be used by importing its exported commands via: + +``` +use path/to/ani-cli/ani-cli-completions.nu +``` + +With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/ani-cli/ani-cli-completions.nu b/custom-completions/ani-cli/ani-cli-completions.nu new file mode 100644 index 0000000..37d25ae --- /dev/null +++ b/custom-completions/ani-cli/ani-cli-completions.nu @@ -0,0 +1,23 @@ +# authour: DWTW + +def videoQuality [] { + [ "best", "worst", "360", "480", "720", "1080" ] +} + +# Collaborative cheatsheets for console commands +export extern "ani-cli" [ + string? + -q: string@videoQuality # Set video quality + -s # Watch using Syncplay + -f # Use FZF for selection + -a # Specify episode + -d # Download episode + -p # Download episode to specified directory + -c # Continue watching anime from history + -h # Show help text + -D # Delete history + -U # Fetch update from github + -V # Print version number + -r # Select provider + -x # Print all video links +] diff --git a/custom-completions/btm/README.md b/custom-completions/btm/README.md new file mode 100644 index 0000000..7de3b32 --- /dev/null +++ b/custom-completions/btm/README.md @@ -0,0 +1,9 @@ +# Bottom Custom Completions + +This script provides custom completions for Bottom. It can be used by importing its exported commands via: + +``` +use path/to/btm/btm-completions.nu +``` + +With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/btm/btm-completions.nu b/custom-completions/btm/btm-completions.nu new file mode 100644 index 0000000..05fc1f7 --- /dev/null +++ b/custom-completions/btm/btm-completions.nu @@ -0,0 +1,47 @@ +# authour: DWTW + +def colorScheme [] { + [ "default", "default-light", "gruvbox", "gruvbox-light", "nord", "nord-light" ] +} + +def widgetType [] { + [ "cpu", "mem", "net", "proc", "temp", "disk", "bat" ] +} + +# Yet another cross-platform graphical process/system monitor. +export extern "btm" [ + --autohide-time # Hide time-scale in graphs automatically + --basic(-b) # Use a more basic look + --battery # Show battery widget + --case_sensitive(-S) # Enables case sensitivity + --celsius(-c) # Sets temp type to celcius + --color: string@colorScheme # Use a pre-defined colorscheme + --config(-C): string # Sets the location of the config file + --curent_usage(-u) # Set CPU% to current system CPU% + --default_time_value(-t): int # Time value for graphs + --default_widget_count: int # Sets nth selected widget type to use default widget + --default_widget_type: string@widgetType # Set default select widget + --disable_advanced_kill # Hide advanced options + --disable_click # Disables mouse + --dot_marker(-m) # Uses dot marker for graphs + --fahrenheit(-f) # Sets temp type to fahrenheit + --group(-g) # Groups processes + --help(-h) # Prints help information + --hide_avg_cpu(-a) # Hide average CPU usage + --hide_table_gap # Hides spacing between table headers and entries + --hide_time # Completely hides the time scale + --kelvin(-k) # Sets temp type to kelvin + --left-legend(-l) # Puts the CPU chart to left + --men_as_value # Default sort by memory usage + --network_use_binary_prefix # Network widget with binary prefixes + --network_use_bytes # Network widget as bytes + --network_use_logs # Network eidget with logs + --process_command # Show processes as commands + --rate(-r): int # Sets referesh + --regex(-R) # Enable regex by default + --show_table_scroll_position # Show scroll position + --time-delta(-d): int # Amout changed when zooming in/out + --tree(-T) # Show processes as tree + --version(-V) # Prints version information + --whole-word(-w) # Search results match entrie query +] diff --git a/custom-completions/glow/README.md b/custom-completions/glow/README.md new file mode 100644 index 0000000..798984c --- /dev/null +++ b/custom-completions/glow/README.md @@ -0,0 +1,9 @@ +# Glow Custom Completions + +This script provides custom completions for Glow. It can be used by importing its exported commands via: + +``` +use path/to/glow/glow-completions.nu +``` + +With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/glow/glow-completions.nu b/custom-completions/glow/glow-completions.nu new file mode 100644 index 0000000..b7352b0 --- /dev/null +++ b/custom-completions/glow/glow-completions.nu @@ -0,0 +1,38 @@ +# authour: DWTW + +def commandsGlow [] { + [ "config", "help", "stash" ] +} + +# Render markdown on the CLI, with pizzazz! +export extern "glow" [ + string? + --all(-a) # Show system files and directories (TUI) + --config: string # Specify config file + --help(-h) # Help for glow + --local(-l) # Show local files only + --pager(-p) # Display with pager + --style(-s): string # Style name or JSON path + --width(-w): int # Word-wrap width +] + +# Create a config file +export extern "glow config" [ + --help(-h) # Help for config + --config: string # Specify config file +] + +# Provides help for any command +export extern "glow help" [ + string?: string@commandsGlow + --help(-h) # Help for config + --config: string # Specify config file +] + +# Do stash stuff +export extern "glow stash" [ + string? + --memo: string # Memo or note for stashing + --help(-h) # Help for config + --config: string # Specify config file +] diff --git a/custom-completions/tealdeer/README.md b/custom-completions/tealdeer/README.md new file mode 100644 index 0000000..80860e2 --- /dev/null +++ b/custom-completions/tealdeer/README.md @@ -0,0 +1,9 @@ +# Tealdeer Custom Completions + +This script provides custom completions for tealdeer. It can be used by importing its exported commands via: + +``` +use path/to/tldr/tldr-completions.nu +``` + +With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/tealdeer/tldr-completions.nu b/custom-completions/tealdeer/tldr-completions.nu new file mode 100644 index 0000000..ea259d4 --- /dev/null +++ b/custom-completions/tealdeer/tldr-completions.nu @@ -0,0 +1,29 @@ +# authour: DWTW + +def platformOveride [] { + [ "linux", "macos", "windows", "sunos", "osx", "android" ] +} + +def whenColor [] { + [ "always", "auto", "never" ] +} + +# Collaborative cheatsheets for console commands +export extern "tldr" [ + string? + --list(-l) # Lists all commands in the cache + --render(-f): string # Render a specific markdown file + --platform(-f): string@platformOveride # Override the operating system + --language(-L): string # Override the language + --update(-u) # Update the local cache + --no-auto-update # If auto update is configured. disable it for this run + --clear-cache(-c) # Clear the local cache + --pager # Use a pager to page output + --raw(-r) # Display the raw markdown instead of rendering it + --quiet(-q) # Suppress informational message + --show-paths # Show file and directory paths using tealdeer + --seed-config # Create a basic config + --color: string@whenColor # Controls whether to use color + --version(-v) # Print the version + --help # Print the help information +]