SDX combines a number of functions into a single command-line developer utility. Its most common use (example) is to create, browse, and unravel Starkits:
sdx qwrap myscript.tcl ?options...?
a quick way to create a starkit when the input is a single Tcl script
sdx wrap mystar.kit ?options...?
this is the way to create a starkit from a mystar.vfs/ directory structure
sdx unwrap mystar.kit
the reverse of wrap , it lets you disect any starkit
sdx lsk mystar.kit
list the contents of a starkit, as seen when mounted in Tcl
sdx version mystar.kit
calculate the Version ID of a starkit, report newest file found inside
sdx mkpack oldstar.kit newstar.kit
copies and optimally packs the Metakit data be removing all unused areas
sdx mksplit mystar.kit
disects a starkit into mystar.head and a mystar.tail parts (example)
sdx update mystar.kit ?options...?
fetch a starkit from the mini.net SDarchive, or update-in-place with minimal fuss
Not all functions in SDX are related to Starkits and Metakit. Nor are all functions generally useful in fact. Use sdx help
and sdx help command
for further info.
SDX is itself a Starkit, you can inspect it by doing sdx unwrap sdx
and then looking at things like sdx.vfs/lib/app-sdx/sdx.tcl
. SDX consists of Tcl scripts and is machine-independent: it runs on all platforms for which Tclkit is available.
SDX can be downloaded from the /pub/sk/ area on this server.
The "Failure Feedback Forum" on this website can be used to report bugs.
Embedded use
As of Jan 2005, you can use many functions in SDX from inside Tcl scripts:
source sdx.kit package require sdx catch { console show } sdx::sdx qwrap myapp.tcl sdx::sdx lsk myapp.kit