UNPKG

snapcube

Version:

📦 Snapshot, backup, and restore any project — binary-safe, fast, and simple CLI.

31 lines • 1.47 kB
"use strict"; /** * Barrel file for SnapCube commands * -------------------------------- * This file re-exports all the main CLI actions for easier imports. * Instead of importing each function individually from its file, * consumers can simply import them from "commands". * * Example: * import { cloneProject, createProject, cloneGithubRepo } from "../commands"; */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); __exportStar(require("./cloneProject"), exports); // Local project → JSON snapshot __exportStar(require("./createProject"), exports); // JSON snapshot → Restore project __exportStar(require("./cloneGithubRepo"), exports); // Remote GitHub repo → JSON snapshot __exportStar(require("./cloneGitlabRepo"), exports); //# sourceMappingURL=index.js.map