Skip to content

Commit

Permalink
feat(docs): add JSON log display toggle feature
Browse files Browse the repository at this point in the history
- Updated README.md to include information about toggling JSON log display
  between pretty print and single-line using the <kbd>f</kbd> or <kbd>p</kbd>
  keys.
- Reformatted the "Pods List and Container Logs" feature description for
  better readability.
  • Loading branch information
sarub0b0 committed Jan 2, 2025
1 parent 324ee56 commit 7c01638
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ It provides an easy-to-use interface for developers and operators to access impo

Kubetui offers the following features to help you monitor and manage your Kubernetes resources:

- **Pods List and Container Logs**: Easily view a list of pods and their container logs.
- **Pods List and Container Logs**:
- View a list of pods and their container logs.
- JSON logs display mode switching: toggle between pretty print and single-line display using the <kbd>f</kbd> or <kbd>p</kbd> keys.
- **ConfigMap and Secret Watching**: Monitor ConfigMaps and secrets, and decode their data.
- **Network-related Resources**: Explore a list of network-related resources and their descriptions.
- **Events Watching**: Stay updated with a real-time view of Kubernetes events.
Expand Down Expand Up @@ -355,6 +357,13 @@ ESCAPED_CHAR = "\\" | "\"" | "\'"
| <kbd>Ctrl+k</kbd> | Delete text from the cursor to the end |
| <kbd>Left</kbd>, <kbd>Right</kbd> | Move the cursor to the previous / next character |

### Container Logs View

| Key | Description |
| ---------------------------- | ------------------------------------------------------------------ |
| <kbd>f</kbd>, <kbd>p</kbd> | Toggle between pretty print and single-line display for JSON logs. |
| <kbd>Enter</kbd> | Insert a blank line. |

## Contributing

Bug reports and pull requests are welcome.
Expand Down

0 comments on commit 7c01638

Please sign in to comment.