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