You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2026-04-24 19:53:55 +02:00
Prioritize pie styles.
This commit is contained in:
@@ -32,7 +32,10 @@ BUNDLED_STYLES = {
|
||||
|
||||
|
||||
def get_available_styles():
|
||||
return sorted(BUNDLED_STYLES | set(pygments.styles.get_all_styles()))
|
||||
return [
|
||||
*PIE_STYLE_NAMES,
|
||||
*sorted(BUNDLED_STYLES | set(pygments.styles.get_all_styles()))
|
||||
]
|
||||
|
||||
|
||||
class ColorFormatter(FormatterPlugin):
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import re
|
||||
import textwrap
|
||||
from typing import AbstractSet, Iterable, Optional, Tuple
|
||||
|
||||
from rich.console import RenderableType
|
||||
|
||||
Reference in New Issue
Block a user