Skip to content
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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

Rudra-Choubey
Copy link

I have added emojis to the cli

Copy link
Collaborator

@TRomesh TRomesh left a 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");
Copy link
Collaborator

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.

Copy link
Collaborator

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");
Copy link
Collaborator

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.

Copy link
Collaborator

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");
Copy link
Collaborator

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.
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants