Comparing version 2.6.0 to 2.7.0
@@ -35,2 +35,14 @@ # CHANGELOG | ||
### RELEASE: [v2.7.0](https://github.com/ahmadawais/awais/compare/v2.6.0...v2.7.0) | ||
![📦 NEW:](https://img.shields.io/badge/-NEW-gray.svg?colorB=3778FF) | ||
> 📦 Arguments [`24a6ae3`](https://github.com/ahmadawais/awais/commit/24a6ae3c5b57ccabd8ad2f5eee7e8beb3c2ee9fc) <br> | ||
<br> | ||
[![hr](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/hr.png)](/) | ||
<br> | ||
### RELEASE: [v2.6.0](https://github.com/ahmadawais/awais/compare/v2.5.0...v2.6.0) | ||
@@ -42,2 +54,6 @@ | ||
![📖 DOC:](https://img.shields.io/badge/-DOCS-gray.svg?colorB=978CD4) | ||
> 📖 Changelog [`4e7294e`](https://github.com/ahmadawais/awais/commit/4e7294eeada0b2cbe6936deaaa19da5ac9a13469) <br> | ||
<br> | ||
@@ -44,0 +60,0 @@ |
38
index.js
@@ -7,2 +7,3 @@ #!/usr/bin/env node | ||
const init = require('./utils/init'); | ||
const args = process.argv.slice(2); | ||
@@ -15,23 +16,28 @@ const dim = chalk.dim; | ||
(async () => { | ||
init(); | ||
console.log(`${italic( | ||
` | ||
Award-winning open-source engineer and developer advocate. Author of various open-source dev-tools and software libraries used by millions of developers worldwide. Leading developers and publishing technical content for over a decade. Self-confessed tech comedian cracking silly jokes in the JavaScript web and cloud communities.` | ||
)} | ||
const socialInfo = ` | ||
${twitterClr(` Twitter `)} ${dim(`https://twitter.com/MrAhmadAwais`)} | ||
${githubClr(` GitHub `)} ${dim(`https://github.com/AhmadAwais`)} | ||
${purple(` Blog `)} ${dim(`https://AhmadAwais.com`)} | ||
`); | ||
`; | ||
alert({ type: 'info', msg: `Check out my NodeCLI.com course.` }); | ||
const adInfo = alert({ type: 'info', msg: `Check out my NodeCLI.com course.` }); | ||
let err; | ||
err = false; | ||
// err = new Error(`Blog API`); // OR Error can be a real error. | ||
if (err) { | ||
handleError(`Blog API is down.`, err, true, false); | ||
} | ||
const printSocial = args.indexOf('--no-social') === -1; | ||
const social = printSocial ? socialInfo : ``; | ||
const printAd = args.indexOf('--no-ad') === -1; | ||
const ad = printAd ? adInfo : ``; | ||
(async () => { | ||
init(); | ||
console.log( | ||
`${italic( | ||
` | ||
Award-winning open-source engineer and developer advocate. Author of various open-source dev-tools and software libraries used by millions of developers worldwide. Leading developers and publishing technical content for over a decade. Self-confessed tech comedian cracking silly jokes in the JavaScript web and cloud communities.` | ||
)} | ||
${social} | ||
${ad} | ||
` | ||
); | ||
})(); |
{ | ||
"name": "awais", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "Get to know Awais via `npx awais`.", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17190
52