Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/auth/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as chalk from "chalk";
import * as fs from "fs";
import * as path from "path";
import { Headers } from "../types";
import { log } from "../ui/log";
import { log } from "../ui/terminal";
import AccountManager = require("../management-sdk");

const packageJson = require("../../../package.json");
Expand Down
7 changes: 4 additions & 3 deletions script/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as parser from "./command-parser";
import { createCommand } from "./parser/create-command";
import { showHelp } from "./parser/commands";
import * as execute from "./command-executor";
import * as chalk from "chalk";

function run() {
const command = parser.createCommand();
const command = createCommand();

if (!command) {
parser.showHelp(/*showRootDescription*/ false);
showHelp(/*showRootDescription*/ false);
return;
}

Expand Down
4 changes: 1 addition & 3 deletions script/command-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ import {
ILoginConnectionInfo,
serializeConnectionInfo,
} from "./auth/connection";
import { log } from "./ui/log";
import { confirm, requestAccessKey } from "./ui/prompt";
import { createUploadProgress } from "./ui/progress";
import { confirm, createUploadProgress, log, requestAccessKey } from "./ui/terminal";
import {
printAccessKeys,
printAppList,
Expand Down
Loading
Loading