{"id":13471719,"url":"https://github.com/lighttiger2505/lab","last_synced_at":"2025-03-26T13:31:32.194Z","repository":{"id":26569155,"uuid":"105037533","full_name":"lighttiger2505/lab","owner":"lighttiger2505","description":"lab is a cli client of gitlab like hub","archived":true,"fork":false,"pushed_at":"2021-02-21T09:07:03.000Z","size":512,"stargazers_count":91,"open_issues_count":14,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T04:08:59.859Z","etag":null,"topics":["cli","gitlab","gitlab-ci","gitlab-cli","gitlab-client","golang","merge-request"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lighttiger2505.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-27T15:43:30.000Z","updated_at":"2023-08-22T11:25:08.000Z","dependencies_parsed_at":"2022-08-07T12:00:42.922Z","dependency_job_id":null,"html_url":"https://github.com/lighttiger2505/lab","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lighttiger2505%2Flab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lighttiger2505%2Flab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lighttiger2505%2Flab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lighttiger2505%2Flab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lighttiger2505","download_url":"https://codeload.github.com/lighttiger2505/lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245662897,"owners_count":20652099,"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":["cli","gitlab","gitlab-ci","gitlab-cli","gitlab-client","golang","merge-request"],"created_at":"2024-07-31T16:00:48.651Z","updated_at":"2025-03-26T13:31:31.744Z","avatar_url":"https://github.com/lighttiger2505.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# lab\n\n[![Build Status](https://travis-ci.org/lighttiger2505/lab.svg?branch=master)](https://travis-ci.org/lighttiger2505/lab)\n[![Coverage Status](https://coveralls.io/repos/github/lighttiger2505/lab/badge.svg?branch=master)](https://coveralls.io/github/lighttiger2505/lab?branch=master)\n\nlab is a cli client of gitlab like [hub](https://github.com/github/hub).\n\n## Installation\n\n### Go developer\n\nPlease getting source code and build.\n\n```sh\ngo get github.com/lighttiger2505/lab\nmake ensure\nmake install\n```\n\n### Binary download\n\nPlease run the install script:\n\n```sh\ncurl -s https://raw.githubusercontent.com/lighttiger2505/lab/master/install.sh | bash\n```\n\nThe script installs the `lab` command in `/usr/local/bin`. For more details, see the `install.sh` [source code](install.sh).\n\n## Features\n\n```\nUsage: lab [--version] [--help] \u003ccommand\u003e [\u003cargs\u003e]\n\nAvailable commands are:\n    browse                    Browse project page\n    issue                     Create and Edit, list a issue\n    issue-template            List issue template\n    job                       List job\n    lint                      validate .gitlab-ci.yml\n    merge-request             Create and Edit, list a merge request\n    merge-request-template    List merge request template\n    mr                        Create and Edit, list a merge request\n    pipeline                  List pipeline, List pipeline jobs\n    project                   List project\n    project-variable          List project level variables\n    runner                    List CI/CD Runner\n    user                      List user\n```\n\n## Usage\n\n1. change directory gitlab repository\n\t- lab command accesses gitlab quickly by useing repository infomation\n\t```sh\n\t$ cd {gitlab repository}\n\t```\n1. launch lab command\n\t```sh\n\t$ lab issue\n\t```\n1. please input personal access token\n\t- use the lab command you need Personal access take look here(`https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#creating-a-personal-access-token`)\n\t```sh\n\tPlease input GitLab private token : {your token}\n\t```\n\n## Feature\n\n### Browse\n\nOpen gitlab pages on brwoser.\n\n```sh\n# Browse project page\n$ lab browse\n\n# Browse project file\n$ lab browse ./README.md\n\n# Browse sub page\n$ lab browse -s issues\n```\n\n### Operations to Issue and Merge Request\n\nMany operations can be done with simple input.\n\n```sh\n# List issue\nlab issue\n\n# Browse issue\nlab issue -b {issue ii}\n\n# Show issue\nlab issue {issue id}\n\n# Create issue\nlab issue -e\n\n# Update issue\nlab issue {issue id} -e\n```\n\n## Configuration\n\nauto create configuration file `~/.config/lab/config.yml` when launch lab command\n\n### Sample\n\n```yml\ndefault_profile: gitlab.com\nprofiles:\n  gitlab.com:\n    token: ********************\n    default_group: hoge\n    default_project: hoge/soge\n    default_assignee_id: 123\n  gitlab.ssl.foo.jp:\n    token: ******************** \n    default_group: foo\n    default_project: foo/bar\n    default_assignee_id: 456\n```\n\n## ToDos\n\n- variable command\n    - [x] Project-level Variables\n    - [ ] Group-level Variables\n- use template\n    - [x] issue template\n    - [x] merge request template\n- [ ] pipeline actions\n    - [ ] cancel\n    - [ ] retry\n- [ ] label command\n- [x] project-member command\n- workflow automation command\n    - [ ] create\n        - create new project and cloning repository\n    - [ ] fork\n        - create fork project and cloning repository\n    - [ ] flow\n        - create issue and create `WIP:` merge request\n\n## Similar tool\n\nThere are similar tools.\nIf you prefer modern style commands like docker. This tool may be better.\n\n- [zaquestion/lab](https://github.com/zaquestion/lab)\n\nNote: This tool and lighttiger2505/lab are completely different tools\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flighttiger2505%2Flab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flighttiger2505%2Flab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flighttiger2505%2Flab/lists"}