Recent Releases of logr
logr - v0.5.0
Added
- Further banner animations
- SVG terminal sessions recordings
- Support for synonyms (e.g.
logr task==logr job==logr work) - Utility remove_ansi to remove any type of ANSI escapes
Changed
failronly prints stacktrace if invoked with-xor--stacktraceerrexitdisabled
- Shell
Published by bkahlert over 4 years ago
logr - v0.4.0
Added
tracrin order to facilitate print debuggingshell 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
prompt4using-
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 onestate/s:0corresponds to dimmed color; otherwise defaultshell 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_linetoprint - renamed util function
reprint_linetoreprint - terminal related features are now located in
esc
- Shell
Published by bkahlert 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 COMMANDwith 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 taskto-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