{"id":28589707,"url":"https://github.com/devnyxie/minishell","last_synced_at":"2025-06-11T08:11:21.508Z","repository":{"id":295699941,"uuid":"988947095","full_name":"devnyxie/minishell","owner":"devnyxie","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-03T16:13:06.000Z","size":68,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-04T00:37:54.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/devnyxie.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,"zenodo":null}},"created_at":"2025-05-23T10:15:00.000Z","updated_at":"2025-06-03T15:55:52.000Z","dependencies_parsed_at":"2025-05-26T23:43:23.828Z","dependency_job_id":"7d5175f8-ff25-4442-bd72-353bccf85ced","html_url":"https://github.com/devnyxie/minishell","commit_stats":null,"previous_names":["devnyxie/minishell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnyxie%2Fminishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnyxie%2Fminishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnyxie%2Fminishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnyxie%2Fminishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devnyxie","download_url":"https://codeload.github.com/devnyxie/minishell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devnyxie%2Fminishell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259227958,"owners_count":22824904,"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","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":[],"created_at":"2025-06-11T08:10:54.487Z","updated_at":"2025-06-11T08:11:21.498Z","avatar_url":"https://github.com/devnyxie.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniShell\n\n## Development\n\n### Branching\n\n- `main`: The main branch, which should always be stable.\n- `any other branch`: Feature branches for development. These branches can be named according to the feature being developed, e.g., `feature/command-parser`.\n\n- Switching branches;\n  ```bash\n  git switch -c your-branch-name\n  ```\n  *-c creates the branch if it doesn't exist already.*\n\n- Stashing changes:\n  ```bash\n  git stash\n  git stash apply\n  ```\n\n- Pushing to the remote:\n  ```bash\n  git push origin your-branch-name\n  ```\n\n## Other\n\n### Reusable Samples\n\n#### CMDs and ARGs output\n\n```c\nprintf(\"=== Parsed commands ===\\n\");\ncurrent_cmd = shell_input-\u003efirst_cmd;\nwhile(current_cmd != NULL) {\n    printf(\"  Name: %s,\", current_cmd-\u003ename);\n    printf(\"  Args:\");\n    for (int i = 0; current_cmd-\u003eargs[i]; i++)\n    {\n        printf(\" \\\"%s\\\"\", current_cmd-\u003eargs[i]);\n    }\n    current_cmd = current_cmd-\u003enext;\n}\nprintf(\"\\n=======================\\n\");\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevnyxie%2Fminishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevnyxie%2Fminishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevnyxie%2Fminishell/lists"}