SUR(1) SUR(1)

sur - subtle user repository

sur COMMAND OPTIONS

sur is the subtle user repository and a manager for sublets in a rubygems like fashion.

The main goal of sur is to help the user managing sublets and to have a central point where new sublets can be found. Addionally sur has some capabilities to create and test sublets.

sur install clock
sur query -r clock
sur uninstall -v 0.1 clock

In order to create a sublet, you need to create a specifiction which basically contains some information about your sublet.

Here is a list of known attributes:

name
Name of the sublet
Example: spec.name = "Sublet"
version
Version of the sublet
Example: spec.version = "0.1"
tags
List of tags to categorize the sublet
Example: spec.tags = [ "Broken" ]
files
List of files in the sublet
Example: spec.files = [ "sublet.rb" ]
icons
List of supplied icons
Example: spec.icons = [ "icon.xbm" ]
description
Description of the sublet
Example: spec.description = "A shiny new sublet"
notes
Longer description of the sublet
Example: 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
Example: spec.authors = [ "You" ]
contact
Contact mail address
Example: spec.contact = "your@mail.com"
date
Date of creation
Example: spec.date = "Sat Sep 13 19:00 CET 2008"
config
Description of config settings
Example: spec.config = [
{
:name        => "format_string",
:type        => "string",
:description => "Format of the clock (man date)" },
:def_value   => "Default value"
}
]
grabs
Description of grabs
Example: spec.grabs = [
{
:SubletTest => "Test grab",
}
]
required_version
Required version of subtle
Example: spec.required_version = "0.9.10"
add_dependency(name, version)
Add a gem dependency
Example: spec.add_dependency("a_gem", "0.0")

If you use the template command sur will create an empty template with a spec file.

Report bugs at http://subforge.org/projects/subtle/issues
Homepage: http://subtle.subforge.org

Copyright (c) Christoph Kappel unexist@dorfelite.net

surserver(1), subtle(1), subtler(1), subtlext(1)

October 2011