SUR(1)
π SUR(1) β subtle user repository π
okay so bestie, you found SUR(1) in the manual and now we're gonna read it together, no cap β¨
πΈ NAME πΈ
sur β subtle user repository π¦
β¨ SYNOPSIS β¨
sur COMMAND OPTIONS
π DESCIPTION π
okay so sur is the subtle user repository and also a manager for sublets, in a very rubygems-like fashion π
The whole main character goal of sur is to help you manage sublets, and to give everyone one central place where new sublets can be found. And additionally (yes, there's more, we're obsessed), sur has some capabilities to create and test sublets too π«Ά
π COMMANDS π
sur annotate NAME [-v VERSION|-h]β Mark a sublet as to be reviewed βοΈsur build SPECβ Create a sublet package π¦sur config NAMEβ Show available config settings of a sublet βοΈsur fetch NAMEβ Download sublet to current directory β¬οΈsur helpβ Show this help and exit πsur grabs NAMEβ Show available grabs provided by a sublet π£sur info NAMEβ Show info about an installed sublet βΉοΈsur install NAME [-R|-t|-v VERSION|-h]β Install a sublet πΎsur list [-l|-r|-h]β List local/remote sublets πsur notes NAMEβ Show notes about a sublet πsur query NAME [-e|-l|-r|-t|-v VERSION|-h]β Query for a sublet (e.g clock, clock -v 0.3) πsur reorderβ Reorder installed sublets for loading order πsur server [-p PORT|-h]β Serve sublets (default:http://localhost:4567) πsur submit FILEβ Submit a sublet to SUR π€sur template FILEβ Create a new sublet template in current dir π§sur test NAME [-C VALUE|-h]β Test given sublets for syntax and functionality π§ͺsur uninstall NAME [-R|-t|-v VERSION|-h]β Uninstall a sublet ποΈsur unpack NAME [-t|-v VERSION|-h]β Unpack a sublet in current directory πsur update [-l|-r|-h]β Update local/remote sublet cache πsur upgrade [-R|-y|-h]β Upgrade all installed sublets β¬οΈsur versionβ Show version info and exit π·οΈsur yank NAMEβ Delete sublet from server π
β OPTIONS β
π annotate NAME [-v VERSION|-h]
-v,--version VERSIONβ Annotate a specific version-h,--helpβ Show this help and exit
π fetch NAME [-t|-v VERSION|-h]
-t,--tagsβ Include tags in search-v,--version VERSIONβ Annotate a specific version-h,--helpβ Show this help and exit
π install NAME [-R|-t|-v VERSION|-h]
-R,--reloadβ Reload sublets after installing-t,--tagsβ Include tags in search-v,--version VERSIONβ Search for a specific version-h,--helpβ Show this help and exit
π list [-l|-r|-h]
-l,--localβ Select local repository (default)-r,--remoteβ Select remote repository-h,--helpβ Show this help and exit
π query NAME [-e|-l|-r|-t|-v VERSION|-h]
-e,--regexβ Use regex for query-l,--localβ Select local repository (default)-r,--remoteβ Select remote repository-t,--tagsβ Include tags in search-v,--version VERSIONβ Search for a specific version-h,--helpβ Show this help and exit
π server [-p PORT|-h]
-p,--portβ Select a specific port-h,--helpβ Show this help and exit
π test NAME [-C VALUE|-h]
-C,--config VALUEβ Add config value (can be used multiple times)-h,--helpβ Show this help and exit
π unpack NAME [-t|-v VERSION|-h]
-t,--tagβ Search for a specific tag-v,--version VERSIONβ Search for a specific version-h,--helpβ Show this help and exit
π uninstall NAME [-R|-t|-v VERSION|-h]
-R,--reloadβ Reload sublets after installing-t,--tagβ Search for a specific tag-v,--version VERSIONβ Search for a specific version-h,--helpβ Show this help and exit
π update [-l|-r|-h]
-l,--localβ Select local repository (default)-r,--remoteβ Select remote repository-h,--helpβ Show this help and exit
π upgrade [-R|-y|-h]
-R,--reloadβ Reload sublets after upgrading-y,--yesβ Assume yes to questions-h,--helpβ Show this help and exit
π¦ EXAMPLES π¦
sur install clock
sur query -r clock
sur uninstall -v 0.1 clock
π SPECIFICATION π
So to create a sublet, you need to create a specification β and a specification is basically just a lil bundle of info about your sublet π
Here's the full list of known attributes:
nameβ Name of the sublet
spec.name = "Sublet"
versionβ Version of the sublet
spec.version = "0.1"
tagsβ List of tags to categorize the sublet
spec.tags = [ "Broken" ]
filesβ List of files in the sublet
spec.files = [ "sublet.rb" ]
iconsβ List of supplied icons
spec.icons = [ "icon.xbm" ]
descriptionβ Description of the sublet
spec.description = "A shiny new sublet"
notesβ Longer description of the sublet
spec.notes = <<NOTES
"This sublet is just a dummy, have fun with it!"
NOTES
authorsβ List of authors of the sublet in case there are more than one
spec.authors = [ "You" ]
contactβ Contact mail address
spec.contact = "your@mail.com"
dateβ Date of creation
spec.date = "Sat Sep 13 19:00 CET 2008"
configβ Description of config settings
spec.config = [
{
:name => "format_string",
:type => "string",
:description => "Format of the clock (man date)" },
:def_value => "Default value"
}
]
grabsβ Description of grabs
spec.grabs = [
{
:SubletTest => "Test grab",
}
]
required_versionβ Required version of subtle
spec.required_version = "0.9.10"
add_dependency(name, version)β Add a gem dependency
spec.add_dependency("a_gem", "0.0")
And if you use the template command, sur will create an empty template with a spec file for you π§β¨
π BUGS π
Report bugs at http://subforge.org/projects/subtle/issues
Homepage: http://subtle.subforge.org
π COPYRIGHT π
Copyright (c) Christoph Kappel unexist@dorfelite.net
π SEE ALSO π
surserver(1), subtle(1), subtler(1), subtlext(1)
and that's the whole page bestie!! this one is from October 2011, and yes it's SUR(1) β the subtle user repository manual π
β¨ go forth and manage your sublets, you absolute icon ππ«Ά
π¦ where this page comes from
- debian bookworm: subtle 0.11.3224-xi-2.2+b8 Β· GPL-2.0-only
- ubuntu jammy: subtle 0.11.3224-xi-2.2build4 Β· GPL-2.0-only
- ubuntu noble: subtle 0.11.3224-xi-2.2ubuntu1 Β· GPL-2.0-only
- ubuntu questing: subtle 0.11.3224-xi-2.3
- ubuntu resolute: subtle 0.11.3224-xi-3 Β· GPL-2.0-only
- ubuntu stonking: subtle 0.11.3224-xi-4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms