@owdproject/cli
Version:
The official CLI for Open Web Desktop
10 lines (8 loc) • 344 B
JavaScript
// src/commands/installTheme.js
import { installPackage } from '../utils/installPackage'
import chalk from 'chalk'
export const installThemeCommand = (program) => {
program.command('install theme <source>')
.description('Install a new theme from a Git or NPM source')
.action((source) => installPackage('Theme', source))
}