static void RunProjectTasks(ProjectOptions opts) { if (opts.Get) { var result = projectApi.getProjects(Email.From(opts.Username), Password.From(opts.Password), resetEvent); CliPresenter.present(result.Result); } }
static void RunWorkspaceTasks(WorkspaceOptions opts) { if (opts.Get) { var workspaces = workspaceApi.getWorkspaces(Email.From(opts.Username), Password.From(opts.Password), resetEvent); CliPresenter.present(workspaces.Result); } }