gatelineAPI reference

One entry of the list as repo list prints it.

interface RepositoryListing {
    displayName: string;
    framework: null | FrameworkCheck;
    id: null | string;
    mode: "decide" | "view" | "dispatch";
    origin: null | string;
    path: string;
    top: null | string;
}

Properties

displayName: string
framework: null | FrameworkCheck

The framework check's result (§7.2), or null when the path is not a git repository.

id: null | string
mode: "decide" | "view" | "dispatch"
origin: null | string

What git remote get-url origin printed, or null when there is none.

path: string

The entry's path as written.

top: null | string

The repository's top, or null when the path is not a git repository.