Compare commits

...

5 Commits

Author SHA1 Message Date
ccccacd88d Makefile: Create install directories.
Sometimes these directories may not exist.
2024-11-04 16:52:57 +01:00
3157d98ea1 Update To-Do list. 2024-11-04 16:39:50 +01:00
3bb7f52823 Bump to version v1.0 2024-11-04 16:37:59 +01:00
93da965805 Add message for man page to help information. 2024-11-04 16:37:30 +01:00
4d07cdf4d4 Makefile: Add man file to distclean target. 2024-11-04 16:35:48 +01:00
3 changed files with 10 additions and 4 deletions

View File

@ -49,8 +49,11 @@ clean:
$(RM) $(OBJS)
distclean: clean
$(RM) menu-helper.1.gz
$(RM) menu-helper
install: menu-helper menu-helper.1.gz
install -d $(PREFIX)/bin
install -m 755 menu-helper $(PREFIX)/bin/
install -d $(PREFIX)/share/man/man1
install -m 644 menu-helper.1.gz $(PREFIX)/share/man/man1/

10
TODO.md
View File

@ -1,14 +1,16 @@
# To-Do List
- [ ] v1.0
- [X] v1.0
- [X] Add basic functionality.
- [X] Add more safeguards to avoid bad usage.
- [X] Create a man page.
- [ ] Add more documentation to `help` subcommand.
- [X] Add more documentation to `help` subcommand.
- [X] Properly align output columns from `list` subcommand.
- [X] Add feature for editing recipe name and description.
- [X] Name
- [X] Description
- [ ] Add import/export functionality.
- [ ] Allow for writing description in editor.
- [ ] v1.1
- [ ] Add import/export functionality.
- [ ] Allow for writing description in editor.
- [ ] Add examples to man page.

View File

@ -79,6 +79,7 @@ static inline void print_help(void) {
"\thelp, -h, --help Show this help information.\n"
"\tversion, -v, --version Show version information.\n"
<< std::endl;
std::cout << "For more information about subcommands, use 'man menu-helper'." << std::endl;
}
enum cmd_id parse_args(const std::string &cmd);