{"id":22955294,"url":"https://github.com/mss-boot-io/use-cmd-action","last_synced_at":"2025-04-02T00:42:02.874Z","repository":{"id":37801740,"uuid":"465968993","full_name":"mss-boot-io/use-cmd-action","owner":"mss-boot-io","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-20T06:44:00.000Z","size":830,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T08:41:45.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/mss-boot-io.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-04T03:27:25.000Z","updated_at":"2023-01-07T13:16:18.000Z","dependencies_parsed_at":"2024-03-20T06:30:29.533Z","dependency_job_id":"d4ad1b2f-71f8-4405-bcc5-88119785d43b","html_url":"https://github.com/mss-boot-io/use-cmd-action","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.1333333333333333,"last_synced_commit":"e156307567d1b938a80eeb6df4e1ad0ff95ad5f4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mss-boot-io%2Fuse-cmd-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mss-boot-io%2Fuse-cmd-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mss-boot-io%2Fuse-cmd-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mss-boot-io%2Fuse-cmd-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mss-boot-io","download_url":"https://codeload.github.com/mss-boot-io/use-cmd-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246735344,"owners_count":20825223,"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":"2024-12-14T16:28:55.950Z","updated_at":"2025-04-02T00:42:02.851Z","avatar_url":"https://github.com/mss-boot-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Use CMD Tool For Action\n\n## usage\n\n```yaml\n- name: Discover Staging\n  uses: mss-boot-io/use-cmd-action@v1\n  with:\n    app: endpoint-discover\n  env:\n    namespace: staging\n    configmap_name: endpoint-discover\n    protocols: 'grpc,http'\n    config_name: 'endpoints.yml'\n```\n\n## add your cmd tool\n\n\u003e add your config to file config/cmd-list.json, then pr to this repo's main branch, e.g.:\n\n```json\n[\n  {\n    \"app\": \"configmap-update\",\n    \"source\": \"https://mss-boot-io.github.io/configmap-update/v0.7/linux_amd64\"\n  },\n  {\n    \"app\": \"endpoint-discover\",\n    \"source\": \"https://mss-boot-io.github.io/endpoint-discover/v0.0.4/linux_amd64\"\n  },\n  {\n    \"app\": \"your cmd tool name\",\n    \"source\": \"your cmd tool download url \"\n  }\n]\n```\n\n## maybe you can create your config, for example:\n\n```yaml\n- name: Discover Staging\n  uses: mss-boot-io/use-cmd-action@v1\n  with:\n    app: endpoint-discover\n    url: 'your tool list json config'\n  env:\n    namespace: staging\n    configmap_name: endpoint-discover\n    protocols: 'grpc,http'\n    config_name: 'endpoints.yml'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmss-boot-io%2Fuse-cmd-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmss-boot-io%2Fuse-cmd-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmss-boot-io%2Fuse-cmd-action/lists"}