Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Features
* Allow customization of the toolbar with prompt format strings.
* Add warnings-count prompt format strings: `\w` and `\W`.
* Handle/document more attributes in the `[colors]` section of `~/.myclirc`.
* Enable customization of table border color/attributes in `~/.myclirc`.


Bug Fixes
Expand Down
2 changes: 2 additions & 0 deletions mycli/clistyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@
Token.Toolbar.Arg.Text: "arg-toolbar.text",
Token.Toolbar.Transaction.Valid: "bottom-toolbar.transaction.valid",
Token.Toolbar.Transaction.Failed: "bottom-toolbar.transaction.failed",
Token.Output.TableSeparator: "output.table-separator",
Token.Output.Header: "output.header",
Token.Output.OddRow: "output.odd-row",
Token.Output.EvenRow: "output.even-row",
Token.Output.Null: "output.null",
Token.Output.Status: "output.status",
Token.Output.Timing: "output.timing",
Token.Warnings.TableSeparator: "warnings.table-separator",
Token.Warnings.Header: "warnings.header",
Token.Warnings.OddRow: "warnings.odd-row",
Token.Warnings.EvenRow: "warnings.even-row",
Expand Down
2 changes: 2 additions & 0 deletions mycli/myclirc
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,14 @@ prompt = ''
continuation = ''

# style classes for colored table output
output.table-separator = ""
output.header = "#00ff5f bold"
output.odd-row = ""
output.even-row = ""
output.null = "#808080"
output.status = ""
output.timing = ""
warnings.table-separator = ""
warnings.header = "#00ff5f bold"
warnings.odd-row = ""
warnings.even-row = ""
Expand Down
2 changes: 2 additions & 0 deletions test/myclirc
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,14 @@ prompt = ''
continuation = ''

# style classes for colored table output
output.table-separator = ""
output.header = "#00ff5f bold"
output.odd-row = ""
output.even-row = ""
output.null = "#808080"
output.status = ""
output.timing = ""
warnings.table-separator = ""
warnings.header = "#00ff5f bold"
warnings.odd-row = ""
warnings.even-row = ""
Expand Down