BOOTSTRAP commands
PROGRAM NAME
kset - Sets attributes of toolbox or software objects
DESCRIPTION
kset
is used to set attributes of a toolbox or software object.
It provides a command-line version of certain functionality which is
available in craftsman and composer \(em there are times when
it is useful to be able to set attributes from within a script,
for example.
It is not yet complete, in that not all attributes can be set from the
command-line.
Additional attributes will be added as they are needed,
or as time permits.
kset
can be used to associate miscellaneous files with an object.
This is useful if you have configuration information, data, or other files
which you would like to be treated as part of a software object.
These files are typically kept in the misc directory of the object.
Let's say you had a kroutine object called banana in the fruit
toolbox.
If you created a misc directory in the object,
and in that directory a file myfile.dat,
then you could associate it with the object using any of
the following commands:
% kset -tb fruit -oname banana -misc myfile.dat
% kset -tb fruit -oname banana -misc misc/myfile.dat
% kset -tb fruit -oname banana \\
-misc '$FRUIT/objects/kroutine/banana/misc/myfile.dat'
If not path for the misc file is given,
then kset will assume that it's in the misc directory
of the object.
The misc file's path can be specified relative to the object,
or an explicit toolbox-relative path can be given.
In the latter case you'll most likely have to use single quotation
marks around the path,
so that the toolbox reference is not interpreted as an environment
or shell variable.
REQUIRED ARGUMENTS
none
OPTIONAL ARGUMENTS
- -tb
-
type: string
desc: name of toolbox
default: {none}
- -oname
-
type: string
desc: name of object
default: {none}
- -force
-
type: flag
desc: flag to specify whether to suppress prompts
- -author
-
type: string
desc: full name of author or point of contact
default: {none}
- -email
-
type: string
desc: email address of author or point of contact
default: {none}
- -icon
-
type: string
desc: string to use as icon name for object
default: {none}
- -misc
-
type: string
desc: miscellaneous file to add to object
default: {none}
- -addkeyword
-
type: string
desc: Add a keyword to the specified object
default: {none}
- -rmkeyword
-
type: string
desc: Remove a keyword to the object specified
default: {none}
- -description
-
type: string
desc: Short Description
default: {none}
- -category
-
type: string
desc: category of object
default: {none}
- -subcategory
-
type: string
desc: subcategory of object
default: {none}
- -version
-
type: string
desc: version string
default: {none}
- -atb
-
type: string
desc: associated toolbox name
default: {none}
- -aoname
-
type: string
desc: associated object name
default: {none}
- -aargs
-
type: string
desc: associated command-line args
default: {none}
EXAMPLES
SEE ALSO
RESTRICTIONS
REFERENCES
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.