Skip to content

cleanup: * not supported #1017

Description

@brian6932

Version

sfsu 1.17.1

Error Report

N/A

Description

I for the longest time have used scoop cleanup * -g as * was a thing before the -a/--all flag existed, recently I noticed that it was immediately returning All squeaky clean!!, so I assume it's not currently supported.

Steps to Reproduce

sfsu cleanup *

Expected Behavior

It's built into scoop.ps1 cleanup, so it needs to be supported when using sfsu sub-commands as scoop replacements.

Actual Behavior

All squeaky clean!!.

Additional Context

❯ scoop.ps1 cleanup -h
Usage: scoop cleanup <app> [options]

'scoop cleanup' cleans Scoop apps by removing old versions.
'scoop cleanup <app>' cleans up the old versions of that app if said versions exist.

You can use '*' in place of <app> or `-a`/`--all` switch to cleanup all apps.

Options:
  -a, --all          Cleanup all apps (alternative to '*')
  -g, --global       Cleanup a globally installed app
  -k, --cache        Remove outdated download cache

❯ sfsu cleanup -h
Cleanup apps by removing old versions

Usage: sfsu.exe cleanup [OPTIONS] [APPS]...

Arguments:
  [APPS]...  The app(s) to cleanup

Options:
  -a, --all          Cleanup all installed apps
  -k, --cache        Cleanup old versions of the app from the cache
      --dry-run      Print what would be done, but don't actually do anything
      --no-color     Disable terminal formatting [env: NO_COLOR=]
      --json         Print in the raw JSON output, rather than a human readable format, if the command supports it
  -v, --verbose      Show more information in outputs
      --debug        Enable debug logging
      --disable-git  Disable using git commands for certain parts of the program. Allows sfsu to work entirely if you
                     don't have git installed, but can negatively affect performance [env: DISABLE_GIT=]
  -g, --global       Use the global Scoop context
      --arch <ARCH>  Use the specified architecture, if the app and command support it [default: 64bit]
  -y, --assume-yes   Assume "yes" as answer to prompts
  -h, --help         Print help

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions