boodle-mgr Reference Manual
The boodle-mgr script downloads, installs, and manages the Boodler packages in your collection. (To play soundscapes, see boodler.)
boodle-mgr [ options ] [ command... ]
The script offers many commands. For example, to list all the packages you currently have installed:
boodle-mgr list
You can also use the script interactively. If you just type:
boodle-mgr
...then you will see a command prompt. Type "list" to list your packages. You can continue entering commands until you type "quit", "q", ".", or ctrl-C.
In general, boodle-mgr prompts for any arguments you do not provide on the command line.
Type boodle-mgr help for a complete list of commands. Type boodle-mgr --help or boodle-mgr -h for a complete list of options.
--forceboodle-mgr will go ahead and do it without asking.--import--data directory~/Library/Application Support/Boodler. On Linux or Windows, it will be a ~/.boodler folder.--collection directoryCollection subdirectory of the --data folder (given above). There is generally no reason to change this.--download directoryDownload subdirectory of the --data folder (given above). There is generally no reason to change this.All of these environment variables are optional. You can set all of this information with command-line arguments. (And command-line arguments override environment variables, if provided.)
$BOODLER_DATA--data option.$BOODLER_COLLECTION--collection option.$BOODLER_DOWNLOAD--download option.helpList all available commands.
help commandShow some help on the given command.
listList all the packages you have installed. If you have multiple versions of a package (which can happen), this ignores that, and just shows a single entry.
listallList all of the packages you have installed, showing version numbers. If you have multiple versions of a package, this displays that fact.
describe packagedescribe package versionDescribe a package. This displays all its metadata, which can include the title, author, license, and so on. It also shows what other package this package requires in order to work.
If you do not include the version number, this describes the most recent version of the package you have installed.
describe fileDescribe a package stored in a ".boop" file.
describe urlDescribe a package found at a URL. The package file is downloaded to a temporary location and inspected there.
(In interactive mode, boodle-mgr keeps temporary files cached until you quit. So if you do "describe url" followed by "install url", you won't download the file twice.)
contents packagecontents package versioncontents filecontents urlList the sounds and soundscapes contained in a package. (Soundscapes are labelled "agent", meaning a soundscape agent class.)
You can specify the name of an installed package, a ".boop" file on disk, or a URL to download and inspect.
versions packageList all the versions of package that are installed.
obsoleteSearch through your collection, and list all the package versions which can safely be deleted. A package version is considered obsolete if you have a newer one installed, and no current package requires the older version.
After you install upgraded packages, you can use this command to see what can be deleted.
requires packagerequires package versionSearch through your collection, and list all the packages which require the one you named.
install urlDownload a package from that URL, and install it in your collection.
install fileInstall a package from a ".boop" file on disk.
install package versionInstall a package from the Boodler web site.
(A future version of Boodler will be able to locate the newest version of a package on the web server, and install it. Until then, you have to supply an explicit version number.)
delete packageDelete a package from your collection. If you have multiple versions, delete all of them.
delete package versionDelete a particular version of a package from your collection.
deleteallDelete every package in your collection.
create directorycreate directory destfileCreate a Boodler package. If you do not specify a destination ".boop" file, Boodler will create one with an appropriate name ("package.version.boop", in the usual convention).
You must set up the source directory with valid metadata files, and the Python source or sound sample files that you want to include in your package. This requires a certain amount of care. See the Boodler manual for designing soundscapes.
Note: the "create" command will only work if you have specified --import on the command line. This awkward dance is intended to aid security. boodle-mgr will normally refuse to import Python code from packages. You should only use --import when you intend to use the "create" command, packaging up a soundscape that you created yourself.
(This security is somewhat chimerical right now. While boodle-mgr is safe, boodler can import any package you have installed. So a package containing a Trojan horse would not be dangerous to install, but it could do damage when you tried to play soundscapes from it. Ideally, a future version of boodler would incorporate some kind of sandboxing, to safeguard against malicious packages. Unfortunately, the design of Python makes this difficult.)
reload
Force boodle-mgr to re-scan your collection. You would only need to do this if some other process (or another copy of boodle-mgr) modified your collection directory while boodle-mgr was running.
lasterror
Display a full Python stack trace of the last error that occurred. This exists to aid debugging of boodle-mgr.
quit
Leave the interactive prompt and shut down boodle-mgr.