Skip to content

Commit

Permalink
Added human, corrected headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Urethramancer committed Mar 6, 2024
1 parent feb812c commit 5239dc5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ Currently supports:
- Positional arguments
- Catch-all positional arguments (last args become a slice)

## cfmt
### cfmt
Colour formatting, printf style.

## env
### env
At the moment, just the convenience function Get(), which returns the value of an environment variable or a supplied alternative.

### human
Humanised numbers (and possibly other things in the future).

### paths
Helper to get typical directory paths for configuration data. Basically makes dot-directories in $HOME (most systems) for config directories in $HOME/Library/Application Support (macOS).

## prompter
### prompter
A simple tool to ask question in the terminal. Provide questions, and optionally default answers and whether the reply should be hidden.

## str
### str
Currently just an extended strings.Builder which can write out all common variable types, maps and slices with the same function. Also satisfies the io.Writer interface.

0 comments on commit 5239dc5

Please sign in to comment.