-
Notifications
You must be signed in to change notification settings - Fork 155
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
Issue #186 more basic IP tools #192
Conversation
2 new files added each in lib and ipinfo folders and modified the cmd_tool.go file to support the is_loopback and is_multicast tool
Added two new files to the lib and ipinfo folders and also modified the cmd_tool.go file in ipinfo folder to add the is_unspecified tool for use
All tools that were asked for in issue ipinfo#186 have been added, the relevent files can be found in the lib and ipinfo directories modifications were made to the cmd_tool.go file in ipinfo directory for the tools to be usable within the cli
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.
You didnt run the fmt'er yet
@UmanShahzad kindly review |
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.
Please make 100% sure the help style matches the style of all other existing commands. Too much back-and-forth on this.
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.
- Command examples are not real it seems. Please make sure you run each command, including your own examples, and that they work and produce the expected results!
- Error handling? I guess we can copy the is_v4/is_v6 style for now where it's printed. See those files.
Finished adding all the basic IP Tools which include:
is_loopback
is_multicast
is_unspecified
is_global_unicast
is_interface_local_multicast
is_link_local_multicast
is_link_local_unicast
All new .go files can be found in the ipinfo and lib directories with the file name cmd_tool_NAME OF TOOL also the cmd_tool.go file was modified to allow access to the tools via the cli