Modules§
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