158
158
More options may be added in future so callers should use named arguments.
160
166
:param setup_ui: If true (default) use a terminal UI; otherwise
161
167
some other ui_factory must be assigned to `bzrlib.ui.ui_factory` by
163
169
:param stdin, stdout, stderr: If provided, use these for terminal IO;
164
170
otherwise use the files in `sys`.
167
172
should be called by the caller before exiting their process or
168
173
otherwise stopping use of bzrlib. Advanced callers can use
169
174
BzrLibraryState directly.