Skip to content

saniasiddiqui231/GoCommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoCommand

GoCommand is a simple command-line shell written in Go. It allows users to execute system commands interactively. This shell reads user input, executes commands, and displays output and errors.

Features

  • Command Execution: Execute system commands and view their output directly from the shell.
  • Interactive Prompt: A simple * prompt for entering commands.
  • Cross-Platform: Should work on both Unix-like systems and Windows.

Screenshot

Working GoCommand

Installation

To build and run GoCommand, follow these steps:

  1. Clone the Repository:

    git clone https://gitlab.com/saniasiddiqui231/gocommand.git
  2. Run:

    go run main.go

Usage

Once running, the shell will display a * prompt. You can enter system commands at the prompt, and the output will be displayed in the terminal. For example:

* ls

Reference

https://blog.init-io.net/post/2018/07-01-go-unix-shell/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages