An open API service indexing awesome lists of open source software.

https://github.com/laserattack/ice

Interactive Commands Editor
https://github.com/laserattack/ice

Last synced: 4 days ago
JSON representation

Interactive Commands Editor

Awesome Lists containing this project

README

          

# Wtf?

**ICE** - Interactive Commands Editor

![demo](https://raw.githubusercontent.com/laserattack/ice/main/resources/demo.gif)

# Usage

```
ice - interactive commands editor

usage: ice [-h] [-e] [-c]

flags:
-h show this help and exit
-e show exit code after execution
-c print commands before execution

description:
ice is a TUI editor for interactive command composition.
edit commands in a familiar editor interface, then execute
them as a bash script.

also you can edit config.h to change some default settings.

global controls:
ctrl+c / ctrl+q exit without execution
ctrl+s exit and execute commands

edit mode controls:
arrow keys navigate
ctrl + left/right jump by word
ctrl+w / ctrl+backspace delete left word
tab insert 4 spaces
enter insert new line
backspace delete left symbol
any printable ascii insert character
```

# Build

run `make` in repo root

# Deps

- termbox2 (https://github.com/termbox/termbox2)
- simple args parser from st (https://git.suckless.org/st/)