UNPKG

ionic

Version:

A tool for creating and developing Ionic Framework mobile apps.

19 lines (18 loc) 761 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const namespace_1 = require("../../lib/namespace"); class GitNamespace extends namespace_1.Namespace { async getMetadata() { return { name: 'git', summary: 'Commands relating to git', }; } async getCommands() { return new namespace_1.CommandMap([ ['clone', async () => { const { GitCloneCommand } = await Promise.resolve().then(() => require('./clone')); return new GitCloneCommand(this); }], ['remote', async () => { const { GitRemoteCommand } = await Promise.resolve().then(() => require('./remote')); return new GitRemoteCommand(this); }], ]); } } exports.GitNamespace = GitNamespace;