help 1.8 KB

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. #This is just a help file
  3. echo "================================================="
  4. echo "| nci: blog webscript for Neocities |"
  5. echo "================================================="
  6. echo " written by nokoru <nokoru@disroot.org>"
  7. echo
  8. echo "If you want to learn how nci works, read the README.md file"
  9. echo
  10. echo "nci command list:"
  11. echo "./init - Initializes the nci website/blog system in the current directory (if nci is already initialized, you can use this command to reconfigure the webscript)."
  12. echo "./new - Lets you write a new article/blog entry."
  13. echo "./mod <entry_id> - Lets you modify an existing entry."
  14. echo "./del <entry_id> - Lets you delete entries."
  15. echo "./refresh - Applies creation, deletion and modification changes to your blog html/rss.xml files"
  16. echo "./list - Lists all entries you've made."
  17. echo "./push [-k] - Uploads your website (public_html/*) to Neocities. WARNING: Existing files on Neocities that don't exist in your public_html/ directory will be DELETED! Download your whole website and copy your files into the public_html/ directory!"
  18. echo "./exclude <entry_id | -c | -a> - Adds or removes excluded entries. An excluded entry won't be updated when you run \"./refresh\", so you'll need to update it from its HTML source."
  19. echo "./destroy - This command will destroy the nci system and also will delete your entire website/blog. Be careful!"
  20. echo "./help - Shows this help message"
  21. echo
  22. echo "I hope you find nci useful, however, it comes with no warranty. If you find a bug, just tell me or fix it and send me a pull request if you want to help."
  23. echo "License: Unlicense (see COPYING for details.)"
  24. echo
  25. echo "noko's website: https://nokoru.neocities.org/"
  26. echo "nci was coded using GNU nano. Just in case you wanted to know that."
  27. echo "good luck! :3"