appcenter-cli
Version:
Command line tool for Visual Studio App Center
27 lines (23 loc) • 1.01 kB
text/typescript
import { CommandResult, hasArg, help, longName, required, shortName } from "../../util/commandline";
import CodePushReleaseCommandSkeleton from "./lib/release-command-skeleton";
import { AppCenterClient } from "../../util/apis";
export default class CodePushReleaseCommand extends CodePushReleaseCommandSkeleton {
public specifiedUpdateContentsPath: string;
public specifiedTargetBinaryVersion: string;
public async run(client: AppCenterClient): Promise<CommandResult> {
this.updateContentsPath = this.specifiedUpdateContentsPath;
this.targetBinaryVersion = this.specifiedTargetBinaryVersion;
return await this.release(client);
}
}