Module format

Module format 

Source

Modules§

html
HTML-related formatting.
identity
Identity formatting
issue
Issue formatting
patch
Patch formatting

Structs§

Author
This enum renders (nid, alias) in terminal depending on user variant.
Identity
Identity formatter that takes a profile and displays it as <node-id> (<username>) depending on the configuration.
Paint
A structure encapsulating an item and styling.

Functions§

addr_compact
badge_negative
badge_positive
badge_primary
badge_secondary
badge_yellow
bold
bytes
cob
Format a COB id.
command
Format a command suggestion, eg. rad init.
default
did
Format a DID.
dim
faint
highlight
hint
italic
negative
node_id_human
Format a node id.
node_id_human_compact
Format a node id to be more compact.
oid
Format a git Oid.
parens
Wrap parenthesis around styled input, eg. "input" -> "(input)".
policy
Format a policy.
positive
primary
ref_update
Format a ref update.
ref_update_verbose
secondary
spaced
Wrap spaces around styled input, eg. "input" -> " input ".
style
tertiary
timestamp
Format a timestamp.
visibility
Format a Visibility.
wrap
yellow