Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nouemankhal/go-shell
Go solution for the Build Your Own Shell Coding Challenge by John Crickett
https://github.com/nouemankhal/go-shell
go shell
Last synced: 1 day ago
JSON representation
Go solution for the Build Your Own Shell Coding Challenge by John Crickett
- Host: GitHub
- URL: https://github.com/nouemankhal/go-shell
- Owner: NouemanKHAL
- Created: 2024-04-07T22:01:19.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-13T11:27:24.000Z (7 months ago)
- Last Synced: 2024-04-14T01:10:58.772Z (7 months ago)
- Topics: go, shell
- Language: Go
- Homepage: https://codingchallenges.fyi/challenges/challenge-shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coding Challenge: Build Your Own Shell
This is my solution to the coding challenge [John Crickett's Coding Challenges](https://codingchallenges.fyi/challenges/challenge-shell/).
## Setup
1. Clone the repo
1. Run the tool using of the following approaches:```shell
# Run the tool automatically using the go command
$ go run .# Build a binary and run it manually
$ go build -o gosh
$ ./gosh# Install the binary in your environment, and run it:
$ go install
$ go-shell
```
1. Done!## Examples
```shell
gosh > $ ls
README.md go.mod go.sum internal main.go
gosh > $ ls -a
. .. .git README.md go.mod go.sum internal main.go
gosh > $ pwd
/Users/noueman.khalikine/.noueman/coding-challenges/go-shell
```## TO DO (Outside of the challenge)
- [ ] Add support for left and right arrow keys text navigation
- [ ] Add support for tab completion
- [ ] Add support for colors
- [ ] Add support for history search