Skip to content

NouemanKHAL/go-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Challenge: Build Your Own Shell

This is my solution to the coding challenge John Crickett's Coding Challenges.

Setup

  1. Clone the repo

  2. Run the tool using of the following approaches:

    # 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
  3. Done!

Examples

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

About

Go solution for the Build Your Own Shell Coding Challenge by John Crickett

Topics

Resources

Stars

Watchers

Forks

Languages