kwgit
Version:
A command-line utility to help with cleaning up git branches. This tool provides a safe and efficient way to manage your git branches, helping you keep your repository clean and organized.
12 lines (11 loc) • 348 B
JavaScript
import { cleanCommand } from './clean.js';
import { staleCommand } from './stale.js';
/**
* This function registers all available commands with yargs.
* Each command must export a properly shaped command object.
*/
export function registerCommands(yargsInstance) {
return yargsInstance
.command(cleanCommand)
.command(staleCommand);
}