Twanager is the command line tool that comes with TiddlyWeb. It is used to administer your instance from the server's command line. It can be extended with plugins.
When twanager is run, the following process is followed:
- Check config for twanager_plugins. Import the listed modules, if any.
- Assemble of a list of commands via @make_command
- The first argument to twanager is compared against the list of commands. If there, a corresponding method is run, passed the remaining arguments.
- That method can do whatever it wants. Exceptions are passed up to the user.