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

cli command structure changed #1

Merged
merged 3 commits into from
Sep 19, 2021
Merged

cli command structure changed #1

merged 3 commits into from
Sep 19, 2021

Conversation

gozeloglu
Copy link
Contributor

  • created template for cli part
  • cli cmd and network jobs are separated
  • .gitignore updated for GoLand IDE
  • module name changed

I changed structure of the project and added cmd/ directory to write CLI commands. root.go is the file that contains starting point of the CLI app. commands.go contains commands as a variable. We can extend CLI application by adding new commands as a variable.

* created template for cli part
* cli cmd and network jobs are separated
* .gitignore updated for GoLand IDE
* module name changed
@gozeloglu gozeloglu requested a review from hmert September 19, 2021 13:41
Copy link
Member

@hmert hmert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO, name commands.go to requests.go

@gozeloglu gozeloglu requested a review from hmert September 19, 2021 13:53
@hmert hmert merged commit f1762d7 into main Sep 19, 2021
@hmert hmert deleted the cmd-parse branch September 19, 2021 14:21
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.

2 participants