-
Notifications
You must be signed in to change notification settings - Fork 0
nuggit history
\
View and manage the nuggit log file. If run without arguments, this script will display the log file in summary view.
--message | -m
: Write the specified message to the log file
--summary | --no-summary
: If set (default), only the primary entries of nuggit commands executed will be shown. Otherwise, any additional records, for example of git commands logged by nuggit actions, will also be shown. Viewing all entries may also be enabled with --verbose, --all, -v, or -a
--last
: Display details on the last command logged.
--clear
: Clear all entries from the log file (a new entry will be appended for this action)
--raw
: View the log file in raw, unparsed format.
--today
: Only show log entries from the past 24 hours.
--days | --hours
: Only specify log entries from the specified number of days and/or hours (flags may be combined).
:
- Support for clearing log by date or number of (prime) entries. -
Support for filtering log by date or limiting number of entries -
Less-like functionality? - Support for disabling colorization (ie:
--no-color => $ENV
{ANSI_COLORS_DISABLED}=1 ? - file option to allow
parsing of specified log file. Bypasses is-a-nuggit check, not
compatible with clear flag - Option to export filtered log selection to
a file (filtered by date only) for easy sharing - Replay option?
Hey! The above document had some coding errors, which are explained below:
Around line 227:
: Expected text after =item, not a bullet