-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add more spells #2
Comments
What if |
exec(command,function(err,stdout,stderr){
if(err){
return console.log(chalk.greenBright('FileError: Some error occured while fetching URL'));
}
return console.log(chalk.yellowBright('File Download successful'));
}); Here, if exec(command,function(err,stdout,stderr){
if(err){
console.log(err);
exec("sudo apt-get install wget",(error,stdout,stderr){
if(error){console.log(error)}
else{console.log('wget installed successfully');
});
}
else{
return console.log(chalk.yellowBright('File Download successful'));
}
}); But since there can be many errors like error with URL parsing and wget not installed error. Cheers! |
I'll look into this. BTW: There is more than one package manager. Debian and Ubuntu use |
@gabru-md Could you assign this issue to me. |
Issues can only be assingned to collaborators i guess. Cheers! |
I'm going to add an npm |
sure 👍 |
Heres my pull request #4. It still needs some testing. |
@gabru-md can you suggest any spell which I can work upon and add it. |
@ms10398 have you seen/read harry potter ? |
Yes I have seen Harry Potter 😄 !! |
added a spell - nox |
The text was updated successfully, but these errors were encountered: