feat: Adds "show changelog" command.
This commit is contained in:
parent
7f1bacbba5
commit
038ded7df1
1 changed files with 6 additions and 1 deletions
|
@ -7,12 +7,14 @@ import { shouldShowChangelog, showChangelog } from './helpers/changelog';
|
|||
|
||||
enum Commands {
|
||||
ACCENTS,
|
||||
CHANGELOG,
|
||||
COLOUR_VARIANT
|
||||
}
|
||||
|
||||
const OPTIONS: IGenericObject<number> = {
|
||||
'Change accent color': Commands.ACCENTS,
|
||||
'Change color variant': Commands.COLOUR_VARIANT
|
||||
'Change color variant': Commands.COLOUR_VARIANT,
|
||||
'Read the changelog': Commands.CHANGELOG
|
||||
}
|
||||
|
||||
export function activate(context: vscode.ExtensionContext) {
|
||||
|
@ -33,6 +35,9 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
case Commands.ACCENTS:
|
||||
THEME_ACCENTS_SETTER();
|
||||
break;
|
||||
case Commands.CHANGELOG:
|
||||
showChangelog();
|
||||
break;
|
||||
case Commands.COLOUR_VARIANT:
|
||||
THEME_VARIANT();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue