shell dot on steroids https://pagure.io/shellfu

wrap_mkusage_all 411B

12345678910111213141516171819
  1. #!/bin/bash
  2. . "$(sfpath)"
  3. shellfu import pretty
  4. usage() {
  5. mkusage "[-d] load [-f file]" \
  6. "[-d] save [-f file]" \
  7. -o "-d debug" \
  8. "-f file some file" \
  9. -c "load - load a file or something" \
  10. "save - save a file or something" \
  11. -- "other items:" \
  12. -i "data1" "data2" "data3" \
  13. -- "and that's all folks!"
  14. }
  15. usage