UNPKG

regit-cli

Version:
17 lines (14 loc) 409 B
import { Command } from 'commander' import { assertCurrentBranchIsClean, warmupGitRepo, } from '../../services/gitHelpers.js' import { removeRelease } from '../../services/releaseHelpers.js' const action = async () => { await warmupGitRepo() await assertCurrentBranchIsClean() await removeRelease() } export default (program: Command) => { program.command('remove').action(action) }