Skip to content

Latest commit

 

History

59 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sharp Line EDitor

sled is a CLI line editor, similar to UNIX's ed.

The main reason I made this was for fun, but I'm currently using it for Minty Launcher's publish script.

There is basic script support for sled.

General Usage

You can see command documentation by typing in ?.

Read CONFIG.md learn how to configure sled.

Modes

s - Load and execute commands from a file.

x - Execute commands given as parameters.

l - Load file into the buffer

Example commands file:

a
Hello, World!
Hello, World!
Lorem Ipsum
.
r 3 Hello, World!
q test.txt

Saved as commands.txt.

sled s commands.txt

Example of passing commands as parameters.

sled x a "Hello, World!" "Hello, World!" "Lorem Ipsum" . "r 3 Hello, World!" "q test.txt"

Building

Prerequisites

Building Steps

Clone the repo:

git clone https://github.com/CoderPenguin1-dev/sled.git

Move into build directory:

cd "sled/sled"

Build & Run Debug binary:

dotnet run

It should open up afterwards. The build will be in sled\bin\Debug\net9.0.

About

A .NET 9 CLI line editor, similar to UNIX's ed.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages