spoon

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: BSD-3-Clause

README

Spoon

A wrapper around scoop, replacing scoop search and offering an improved user experience.

Features

  • Drop-In replacement for scoop search

    Even faster than scoop-search!

  • Tab completion for command, flags and packages

Manual Installation

  1. Install scoop
  2. Install spoon
    go install github.com/Bios-Marcel/spoon/cmd/spoon@latest
    
  3. Enable autocompletion by adding this to your powershell profile:
spoon completion powershell | Out-String | Invoke-Expression

CLI Progress

Rough overview of progress on the command line interface. Commands are basically either fully fledged custom implementations or wrappers around scoop. The wrappers are there to provide autocomplete or add feature on top that run before / after the actual scoop commands.

For now, the global mode isn't support for custom commands, as I personally don't use that feature for now.

Some commands will also probably never be fully completed. Such as alias, as I don't see the value personally. However, you are free to contribute. The commands are roughly ordered by priority.

All unknown commands are delegated to scoop by default.

Command Implementation Type Autocomplete Changes
help Native
search Native * Performance improvements
* JSON output
* Search configuration
install Wrapper
uninstall Wrapper * Terminate running processes
update Wrapper
bucket Wrapper * bucket rm now supports multiple buckets to delete at once
cat Native * Alias manifest
status Wrapper
info Wrapper
list
hold
unhold
reset
cleanup
create
depends
shim
which
config
download
cache
prefix
home
export
import
checkup
virustotal
alias

The search here does nothing fancy, it simply does an offline search of buckets, just like what scoop does, but faster. Online search is not supported as I deem it unnecessary. If you want to search the latest, simply run scoop update; spoon search <app>.

The search command allows plain output and JSON output. This allows use with tools such as jq or direct use in powershell via Powershells builtin ConvertFrom-Json.

Directories

Path Synopsis
cmd
spoon command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL