Skip to content

Commit

Permalink
feat(completions): add sfsu (See #19)
Browse files Browse the repository at this point in the history
  • Loading branch information
abgox committed Jul 24, 2024
1 parent 5c57b2a commit 07d54d3
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 0 deletions.
5 changes: 5 additions & 0 deletions completions/sfsu/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"language": [
"en-US"
]
}
1 change: 1 addition & 0 deletions completions/sfsu/guid.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e0f0280e-4948-476e-9eb5-c30f01c15a3e
152 changes: 152 additions & 0 deletions completions/sfsu/language/en-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
{
"root": [
{
"name": "search",
"tip": "Search for a package"
},
{
"name": "list",
"tip": "List all installed packages"
},
{
"name": "hook",
"tip": "Generate hooks for the given shell"
},
{
"name": "unused-buckets",
"tip": "Find buckets that do not have any installed packages"
},
{
"name": "bucket",
"tip": "Commands for managing buckets"
},
{
"name": "describe",
"tip": "Describe a package"
},
{
"name": "info",
"tip": "Display information about a package"
},
{
"name": "outdated",
"tip": "List outdated buckets and/or packages"
},
{
"name": "depends",
"tip": "List the dependencies of a given package, in the order that they will be installed"
},
{
"name": "download",
"tip": "Download the specified app"
},
{
"name": "status",
"tip": "Show status and check for new app versions"
},
{
"name": "update",
"tip": "Update Scoop and Scoop buckets"
},
{
"name": "home",
"tip": "Opens the app homepage"
},
{
"name": "cat",
"tip": "Show content of specified manifest"
},
{
"name": "export",
"tip": "Exports installed apps, buckets (and optionally configs) in JSON format"
},
{
"name": "checkup",
"tip": "Check for common issues"
},
{
"name": "cache",
"tip": "Show or clear the download cache"
},
{
"name": "scan",
"tip": "Scan a file with `VirusTotal`"
},
{
"name": "credits",
"tip": "Show credits"
},
{
"name": "app",
"tip": "Commands for managing apps"
},
{
"name": "help",
"tip": "Print this message or the help of the given subcommand(s)"
}
],
"options": [
{
"name": "--version",
"alias": [
"-V"
],
"tip": "Show the version."
}
],
"common_options": [
{
"name": "--no-color",
"tip": [
"Disable terminal formatting\n",
"[env: NO_COLOR=]"
]
},
{
"name": "--json",
"tip": "Print in the raw JSON output, rather than a human readable format"
},
{
"name": "-v",
"alias": [
"--verbose"
],
"tip": "Enable verbose logging"
},
{
"name": "--disable-git",
"tip": [
"Disable using git commands for certain parts of the program.\n",
"Allows sfsu to work entirely if you don't have git installed, but can negatively affect performance.\n",
"[env: DISABLE_GIT=]"
]
},
{
"name": "-g",
"alias": [
"--global"
],
"tip": "Use the global Scoop context"
},
{
"name": "-y",
"alias": [
"--assume-yes"
],
"tip": "Assume \"yes\" as answer to prompts"
},
{
"name": "--help",
"alias": [
"-h"
],
"tip": "Show help."
}
],
"info": {
"completion_info": {
"url": "https://github.com/winpax/sfsu",
"description": "Scoop utilities that can replace the slowest parts of Scoop, and run anywhere from 30-100 times faster"
}
}
}
21 changes: 21 additions & 0 deletions completions/sfsu/language/zh-CN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"root": [],
"options": [
{
"name": "--version",
"alias": [
"-V"
],
"tip": "显示版本信息"
}
],
"common_options": [
{
"name": "--help",
"alias": [
"-h"
],
"tip": "显示帮助信息"
}
]
}

0 comments on commit 07d54d3

Please sign in to comment.