pub fn run<S, F>(cli: Cli, storage_factory: F) -> Result<RunResult>Expand description
Run the CLI with a storage factory.
The factory is only called when a command needs storage.
Returns RunResult::RunTui when the TUI should be launched (caller handles this).