Recent Releases of logr

logr - v0.6.2

Fixed

  • do nothing if sourced multiple times

- Shell
Published by github-actions[bot] about 4 years ago

logr - v0.6.1

Fixed

  • $TMPDIR will be created if it does not exist

- Shell
Published by github-actions[bot] over 4 years ago

logr - v0.5.0

Added

  • Further banner animations
  • SVG terminal sessions recordings recorded terminal session demonstrating the logr library
  • Support for synonyms (e.g. logr task == logr job == logr work)
  • Utility remove_ansi to remove any type of ANSI escapes

Changed

  • failr only prints stacktrace if invoked with -x or --stacktrace
  • errexit disabled

- Shell
Published by bkahlert over 4 years ago

logr - v0.6.0

Added

  • support for NO_COLOR and MY_APP_NO_COLOR

Changed

  • failr is replaced by logr error; arguments are unchanged

- Shell
Published by github-actions[bot] over 4 years ago

logr - v0.4.0

Added

  • tracr in order to facilitate print debugging shell tracr tracr foo tracr "$@"
    text 0 ↗ file:///home/john/logr.sh#947 'foo' 1 ↗ file:///home/john/logr.sh#948 'foo' 'bar' 2 ↗ file:///home/john/logr.sh#949
  • Default question for prompt4 using -
    shell prompt4 Y/n '%s\n' "This is a message." -
    text This is a message. Do you want to continue?
  • Customizable banner with a colon separated list of properties
    • char/c: character to use instead of default one
    • state/s: 0 corresponds to dimmed color; otherwise default shell banr --static='c=>:c=<:c=>:c=<:c=>:c=<:c=>' fooBar baz
      text ><><><> FOO BAR BAZ
  • Animated banner if no --static flag is used

Changed

  • renamed util function print_line to print
  • renamed util function reprint_line to reprint
  • terminal related features are now located in esc

- Shell
Published by bkahlert over 4 years ago

logr - v0.3.0

Added

  • banr function to print iconic banner ```shell $ banr ░░░░░░░

$ banr foo ░░░░░░░ FOO

$ banr fooBar ░░░░░░░ FOO BAR

$ banr fooBar baz ░░░░░░░ FOO BAR BAZ ```

- Shell
Published by github-actions[bot] over 4 years ago

logr - v0.2.0

Added

  • Support for yes-no prompts ```shell $ prompt4 Yn

    Do you want to continue? [Y/n]

# Hit enter ✔ Do you want to continue? [Y/n] yes shell $ prompt4 Yn "How about an alternative question?"

How about an alternative question? [Y/n]

# Hit escape ✘︎ How about an alternative question? [Y/n] no ```

- Shell
Published by github-actions[bot] over 4 years ago

logr - v0.1.0

Added

  • logr COMMAND with the following commands supported: shell ✱︎ new ▪︎ item ↗︎ https://github.com/bkahlert/logr ↗︎ file:///home/bkahlert/dev/logr.sh:42:10 ✔︎ success ℹ︎ info ⚠︎ warn ✘︎ error ⚡︎ fail ☐︎ task ⠏︎ running task ✔︎ succeeded task ⚠︎ failed task with warning ✘︎ bash -c; ...; exit 2 error log of failed task

  • to-do list like execution of tasks

  • spinner based visual feedback

  • hyperlink support

  • stacktrace on error shell ✘ foo bar failed: baz expected at foo(/home/bkahlert/dev/demo:32) at main(/home/bkahlert/dev/demo:34) Usage: foo baz

- Shell
Published by bkahlert over 4 years ago