{"id":19362998,"url":"https://github.com/dimaskiddo/codebase-go-cli","last_synced_at":"2025-02-24T12:50:26.673Z","repository":{"id":119738393,"uuid":"164052137","full_name":"dimaskiddo/codebase-go-cli","owner":"dimaskiddo","description":"Codebase for Command-Line Interface (CLI) Application in Go","archived":false,"fork":false,"pushed_at":"2023-07-31T05:11:31.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-06T20:36:37.252Z","etag":null,"topics":["cli","codebase","command-line","go","golang","interface"],"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/dimaskiddo.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":"2019-01-04T03:17:40.000Z","updated_at":"2023-07-31T02:06:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"a47d69ef-2e87-496c-9398-a95f81b58868","html_url":"https://github.com/dimaskiddo/codebase-go-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fcodebase-go-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fcodebase-go-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fcodebase-go-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fcodebase-go-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimaskiddo","download_url":"https://codeload.github.com/dimaskiddo/codebase-go-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240483780,"owners_count":19808632,"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","codebase","command-line","go","golang","interface"],"created_at":"2024-11-10T07:32:04.923Z","updated_at":"2025-02-24T12:50:26.419Z","avatar_url":"https://github.com/dimaskiddo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codebase for Command-Line Interface (CLI) Application in Go\n\nThis codebase help a new Go developer in developing a Command-Line Interface (CLI) Application using Go.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\nSee deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nPrequisites packages:\n* Go (Go Programming Language)\n* Dep (Go Dependencies Management Tool)\n* Make (Automated Execution using Makefile)\n\nOptional packages:\n* GoReleaser (Go Automated Binaries Build)\n\n### Installing\n\nBelow is the instructions to make this codebase running:\n* Create a Go Workspace directory and export it as the extended GOPATH directory\n```\ncd \u003cyour_go_workspace_directory\u003e\nexport GOPATH=$GOPATH:\"`pwd`\"\n```\n* Under the Go Workspace directory create a source directory\n```\nmkdir -p src/\u003cyour_repository_domain\u003e/\u003cyour_username\u003e/\u003cyour_repository\u003e\n```\n* Move to the created directory and pull codebase\n```\ncd src/\u003cyour_repository_domain\u003e/\u003cyour_username\u003e/\u003cyour_repository\u003e\ngit clone -b master https://github.com/dimaskiddo/codebase-go-cli.git .\n```\n* Run following command to change the codebase repository URL to your own\n```\nmake rebase REBASE_URL=\"\u003cyour_repository_domain\u003e/\u003cyour_username\u003e/\u003cyour_repository\u003e\"\n```\n* Run following command to renew and pull dependecies package\n```\nmake init\nmake vendor\n```\n* Until this step you already can run this code by using this command\n```\nmake run\n```\n\n## Running The Tests\n\nCurrently the test is not ready yet :)\n\n## Deployment\n\n**Make sure your your go script does not relate to github.com/dimaskiddo/codebase-go-cli anymore**.\nTo build this codebase to binaries for distribution purposes you can run following command:\n```\nmake release\n```\nThe build result will shown in build directory\n\n## Built With\n\n* [Go](https://golang.org/) - Go Programming Languange\n* [Dep](https://github.com/golang/dep) - Go Dependency Management Tool\n* [GoReleaser](https://github.com/goreleaser/goreleaser) - Go Automated Binaries Build\n* [Make](https://www.gnu.org/software/make/) - GNU Make Automated Execution\n\n## Authors\n\n* **Dimas Restu Hidayanto** - *Initial Work* - [DimasKiddo](https://github.com/dimaskiddo)\n\nSee also the list of [contributors](https://github.com/dimaskiddo/codebase-go-cli/contributors) who participated in this project\n\n## Annotation\n\nYou can seek more information for the make command parameters in the [Makefile](https://raw.githubusercontent.com/dimaskiddo/codebase-go-cli/master/Makefile)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaskiddo%2Fcodebase-go-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimaskiddo%2Fcodebase-go-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaskiddo%2Fcodebase-go-cli/lists"}