UNPKG

@nu-art/commando

Version:
55 lines (54 loc) 1.74 kB
import { Commando_Programming } from './programming'; import { Commando_Basic } from './basic'; import { BaseCommando } from '../core/BaseCommando'; declare const Super: import("@nu-art/ts-common").Constructor<BaseCommando & Commando_Programming & Commando_Basic>; type GitCloneParams = { outputFolder?: string; branch?: string; recursive?: boolean; }; type GitPushParams = { remote: string; branch: string; tags?: boolean; force?: boolean; }; export declare class Commando_Git extends Super { git: { clone: (url: string, options?: GitCloneParams) => this; checkout: (branch: string) => this; createTag: (tagName: string) => this; gitCommit: (commitMessage: string) => this; add: (file: string) => this; addAll: () => this; addAndCommit: (commitMessage: string) => this; push: (options?: GitPushParams) => this; pushTags: () => this; fetch: () => this; resetHard: (tag?: string) => this; getCurrentBranch: () => this; pull: (params: string) => this; merge: (mergeFrom: string) => this; createBranch: (branch: string) => this; gsui: (modules?: string) => this; status: () => this; }; git_clone(url: string, options?: GitCloneParams): this; private git_checkout; private git_createTag; private git_gitCommit; private git_add; private git_addAll; private git_addAndCommit; private git_push; private git_pushTags; private git_fetch; private git_resetHard; private git_getCurrentBranch; private git_pull; private git_merge; private git_createBranch; private git_gsui; private git_status; } export {};