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

tricky.stdout 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. tricky
  2. ======
  3. A test module with functions, variables and long docstring
  4. This one has even the module docstring longer as it can then
  5. form a testcase of such module.
  6. # Usage #
  7. This module is only used for testing of docstring parsing
  8. and object (by which we mean *function* or *variable*, not
  9. some OOP stuff) printing functionality.
  10. The internal format is Markdown-ish, but is parsed as plain
  11. text. But still, as an example we will try to use some
  12. common Markdown. For example, this:
  13. #!/bin/bash
  14. #
  15. is like first two lines of this file look like.
  16. Variables
  17. ---------
  18. ### `$TRICKY_LIMIT` ###
  19. A test variable with a short docstring
  20. ### `$TRICKY_REVERSED` ###
  21. It's also possible to have docstring *after* the doc
  22. ### `$TRICKY_DEBUG` ###
  23. A test variable with a long docstring
  24. Not really long but the longer version (header plus
  25. the rest)
  26. Functions
  27. ---------
  28. ### `tricky_foo()` ###
  29. A test function with a short docstring
  30. ### `tricky_other_function()` ###
  31. A test function with a long docstring
  32. Not really long but the longer version (header plus
  33. the rest)