-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b16aefa
commit 835adad
Showing
6 changed files
with
79 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import chalk from 'chalk'; | ||
|
||
export const duplicated = (scope: string, name: string) => | ||
console.log( | ||
chalk.bold.bgRed(' ‼ERROR‼ ') + | ||
' - Duplicated scope [' + | ||
chalk.bold.green(scope) + | ||
'] overwrite by ' + | ||
chalk.yellow(name) | ||
); | ||
|
||
export const success = (scheme: string, folder: string) => { | ||
console.log(); | ||
console.log( | ||
chalk.bold.bgGreen(' SUCCESS ') + | ||
' - Scheme ' + | ||
chalk.bold.cyan(`${scheme}.sublime-color-scheme`) + | ||
' created in ' + | ||
chalk.underline.yellow(folder) + | ||
' folder' | ||
); | ||
console.log(); | ||
}; | ||
|
||
export const error = (error: string) => console.log(chalk.bold.red(error)); |