-
Notifications
You must be signed in to change notification settings - Fork 32
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
Added emojis #58
base: master
Are you sure you want to change the base?
Added emojis #58
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not put import statements here like this they should be done on the top. Refactor the code.
lib/compute.js
Outdated
@@ -7,7 +8,8 @@ class Compute { | |||
} else if (program.type == "Azure") { | |||
this._compute = ncProviders.azure.compute(options); | |||
} else { | |||
throw new Error("Please specify a provider by flag -p --provider"); | |||
const emoji = require("node-emoji"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not put import statements here like this they should be done on the top.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since its a common thing you can move it to helper.js and import it as a function
lib/database.js
Outdated
@@ -7,7 +7,8 @@ class Database { | |||
} else if (program.type == "Azure" || "azure") { | |||
this._database = nodecloud.azure.compute(options); | |||
} else { | |||
throw new Error("Please specify a provider by flag -p --provider"); | |||
const emoji = require("node-emoji"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not put import statements here like this they should be done on the top.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since its a common thing you can move it to helper.js and import it as a function
lib/network.js
Outdated
@@ -1,26 +1,27 @@ | |||
class Network { | |||
constructor(program, nodecloud, options) { | |||
const emoji = require("node-emoji"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not put import statements here like this they should be done on the top.
README.md
Outdated
@@ -1,7 +1,8 @@ | |||
# nodecloud-cli | |||
|
|||
nodecloud-cli is an unified command line interface for open cloud based on [nodecloud](https://github.com/cloudlibz/nodecloud). nodecloud-cli supports cloud providers like AWS, Azure, GCP and many more. | |||
|
|||
Very Simple to Use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you revert the change to README.md
I have added emojis to the cli