{"id":25949776,"url":"https://github.com/sahil101/sahil101-codecrafters-shell-go","last_synced_at":"2026-04-17T01:02:29.475Z","repository":{"id":279830452,"uuid":"939543601","full_name":"sahil101/sahil101-codecrafters-shell-go","owner":"sahil101","description":"This is a command line tool","archived":false,"fork":false,"pushed_at":"2025-02-27T18:25:57.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T00:32:52.132Z","etag":null,"topics":["bash","cli","commands","go","parser"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sahil101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-26T17:55:44.000Z","updated_at":"2025-02-27T18:26:01.000Z","dependencies_parsed_at":"2025-02-28T00:33:08.408Z","dependency_job_id":"57e45de8-bdc7-49fd-983b-eb4d28770f2c","html_url":"https://github.com/sahil101/sahil101-codecrafters-shell-go","commit_stats":null,"previous_names":["sahil101/sahil101-codecrafters-shell-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sahil101/sahil101-codecrafters-shell-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahil101%2Fsahil101-codecrafters-shell-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahil101%2Fsahil101-codecrafters-shell-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahil101%2Fsahil101-codecrafters-shell-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahil101%2Fsahil101-codecrafters-shell-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sahil101","download_url":"https://codeload.github.com/sahil101/sahil101-codecrafters-shell-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahil101%2Fsahil101-codecrafters-shell-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268330911,"owners_count":24233151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cli","commands","go","parser"],"created_at":"2025-03-04T12:29:04.356Z","updated_at":"2026-04-17T01:02:24.325Z","avatar_url":"https://github.com/sahil101.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyShell\n\nMyShell is a simple command-line shell implemented in Go. It supports basic shell commands such as `echo`, `exit`, `type`, `pwd`, and `cd`. The shell reads user input, parses commands, and executes them accordingly.\n\n## Features\n\n- **Built-in Commands**: \n  - `echo`: Prints the provided arguments to the standard output.\n  - `exit`: Exits the shell.\n  - `type`: Displays whether the command is a built-in or its path if it's an executable.\n  - `pwd`: Prints the current working directory.\n  - `cd`: Changes the current directory.\n\n- **Command Execution**: Executes external commands and captures their output.\n\n## Installation\n\nTo install MyShell, clone the repository and build the project:\n\n```bash\ngit clone https://github.com/sahil101/sahil101-codecrafters-shell-go.git\ncd sahil101-codecrafters-shell-go\ngo build -o myshell cmd/myshell/main.go\n```\n\n## Usage\n\nRun the shell by executing the following command:\n\n```bash\ncd /tmp/\n./myshell\n```\n\nOnce the shell is running, you can enter commands. For example:\n\n```bash\n$ echo Hello, World!\nHello, World!\n\n$ pwd\n/Users/yourusername/Desktop\n\n$ cd /path/to/directory\n\n$ type echo\necho is a shell builtin\n```\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or features you'd like to add.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahil101%2Fsahil101-codecrafters-shell-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahil101%2Fsahil101-codecrafters-shell-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahil101%2Fsahil101-codecrafters-shell-go/lists"}