123456789101112131415161718 |
- import { AppDetails, CommandLineInputs, CommandLineOptions, CommandPreRun } from '@ionic/cli-utils';
- import { Command } from '@ionic/cli-utils/lib/command';
- export declare class LinkCommand extends Command implements CommandPreRun {
- preRun(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>;
- run(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>;
- private getAppClient();
- private getUserClient();
- linkApp(app: AppDetails): Promise<void>;
- linkGithub(app: AppDetails): Promise<string | undefined>;
- confirmGithubRepoExists(): Promise<void>;
- oAuthProcess(userId: number): Promise<void>;
- needsAssociation(app: AppDetails, userId: number): Promise<boolean>;
- connectGithub(app: AppDetails, repoId: number, branches: string[]): Promise<string | undefined>;
- formatRepoName(fullName: string): string;
- selectGithubRepo(): Promise<number>;
- selectGithubBranches(repoId: number): Promise<string[]>;
- }
|