Skip to content

Commit 62c5294

Browse files
BroccoMRHarrison
authored andcommitted
chore: add some ascii art bling to ng version (angular#3749)
1 parent 4ec0d2a commit 62c5294

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/angular-cli/commands/version.ts

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const Command = require('../ember-cli/lib/models/command');
22
import * as path from 'path';
33
import * as child_process from 'child_process';
4+
import * as chalk from 'chalk';
45

56
const VersionCommand = Command.extend({
67
name: 'version',
@@ -45,6 +46,14 @@ const VersionCommand = Command.extend({
4546
versions = Object.assign(versions, this.getDependencyVersions(projPkg, root));
4647
});
4748
}
49+
const asciiArt = `
50+
_ _ _
51+
__ _ _ __ __ _ _ _ | | __ _ _ __ ___ | |(_)
52+
/ _\` || '_ \\ / _\` || | | || | / _\` || '__|_____ / __|| || |
53+
| (_| || | | || (_| || |_| || || (_| || | |_____|| (__ | || |
54+
\\__,_||_| |_| \\__, | \\__,_||_| \\__,_||_| \\___||_||_|
55+
|___/`;
56+
this.ui.writeLine(chalk.red(asciiArt));
4857
this.printVersion('angular-cli', ngCliVersion);
4958

5059
for (const module of Object.keys(versions)) {

0 commit comments

Comments
 (0)