frontweather
Advanced tools
Comparing version 1.0.0 to 1.0.1
30
index.js
@@ -7,17 +7,19 @@ const parseArgs = require('minimist'); | ||
try{ | ||
const args = parseArgs(process.argv.slice(2)); | ||
module.exports = () => { | ||
try{ | ||
const args = parseArgs(process.argv.slice(2)); | ||
if(args.key) | ||
registerKey(args.key); | ||
else if(args.city) | ||
getWeather(args.city); | ||
else if(args.help) | ||
help(); | ||
else | ||
help(); | ||
if(args.key) | ||
registerKey(args.key); | ||
else if(args.city) | ||
getWeather(args.city); | ||
else if(args.help) | ||
help(); | ||
else | ||
help(); | ||
}catch(e){ | ||
console.log('wooow bro shit happened'); | ||
} | ||
}catch(e){ | ||
console.log('wooow bro shit happened'); | ||
} | ||
} |
{ | ||
"name": "frontweather", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
7607
147