hana-cli
Version:
HANA Developer Command Line Interface
20 lines (18 loc) • 546 B
JavaScript
// @ts-check
import * as base from '../utils/base.js'
export const command = 'changesUI'
export const aliases = ['chgUI', 'chgui', 'changeLogUI', 'changelogui']
export const describe = base.bundle.getText("changes")
export function handler (argv) {
base.promptHandler(argv, getChangeLog, {})
}
export async function getChangeLog(prompts) {
base.debug('changeLogUI')
try {
base.setPrompts(prompts)
await base.webServerSetup('/docs/changelog')
return base.end()
} catch (error) {
base.error(error)
}
}