-
Notifications
You must be signed in to change notification settings - Fork 49
Man Command #84
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
base: main
Are you sure you want to change the base?
Man Command #84
Conversation
|
I would like to code review this |
|
I can code review this |
|
Updated man command with support for using docs as a directory to hold man pages as well as various bug fixes and updating |
|
I don't see man.c in user |
|
i can also code review this |
|
I think your project is great and really useful! The features outlined in the issue are completed. One of the limitations is the scrolling feature which was earlier mentioned in the issue. The man page is printed all at once but it looks good this way too! For flags, I would say it's a good idea to add a "usage" message if the -F flag isn't passed in correctly as args to the program. Everything else looks good, javadoc comments are included as well! Another suggestion, it would be a good idea to have a couple more files in the docs folder for other common commands like cat, ls, cd and so on. High Level Checks:
Code Checks:
|
|
This man command does not only work well but prints out the information smoothly. I like how you added a flag to search up specific words and I do believe that your code is both readable and formatted well. While this pull request does meet all the issue goals, it also adds more with the -f flag.
High Level Checks:
Code Checks:
|
|
This is a good idea (I love documentation). However I think the scope got scaled back on this. Going back to #64, we have:
Scrolling is admittedly quite a bit of work, so I think we can set that aside. Still, I think we're lacking a library or some kind of infrastructure for writing these man pages (even a tool that helps format them correctly before being put in fs.img) and the formatting options aren't there. Say for instance, maybe you could support markdown The main reason I point this out is right now it's a tough sell to use this over just I ran into this quirk: If you want to update this, adding basic formatting for headers, a couple more man pages as examples, and fix the argument parsing would net you +0.25 to your project score. |
Implemented man command and framework for adding man pages. Input a command or function's name into the command to bring up its man page, automatically finding file if it exists and automatically applying the file extension. Additionally can use the -f flag to find a specific word.
Changed Files:
Flags:
Limitations: