Properties
Private
github
github: Record<string, git> = {}
hasConfig
hasConfig: boolean
Methods
add
- add(opt): Promise<void>
-
Parameters
-
opt: {
branch?: string;
dest: string;
remote: string;
}
-
Optional
branch?: string
-
dest: string
-
remote: string
Returns Promise<void>
addAll
- addAll(pathOrArg): Bluebird<string>
-
Returns Bluebird<string>
commitAll
- commitAll(msg): Bluebird<string>
-
Returns Bluebird<string>
hasSubmodule
- hasSubmodule(): boolean
-
Returns boolean
remove
- remove(path): Promise<void>
-
Returns Promise<void>
safeUpdate
- safeUpdate(reset?): Bluebird<unknown>
-
Returns Bluebird<unknown>
Private
spawnOpt
- spawnOpt(opt?): SpawnOptions
-
Returns SpawnOptions
status
- status(optionSpawn?): Bluebird<string>
-
Parameters
-
optionSpawn: SpawnOptions = ...
Returns Bluebird<string>
update
- update(args?, optionSpawn?): Bluebird<string>
-
Parameters
-
args: string[] = []
-
optionSpawn: SpawnOptions = ...
Returns Bluebird<string>
add submodule