{"id":25830875,"url":"https://github.com/lab5e/spancli","last_synced_at":"2025-08-16T21:14:43.532Z","repository":{"id":56310461,"uuid":"312354401","full_name":"lab5e/spancli","owner":"lab5e","description":"Span Command Line Interface","archived":false,"fork":false,"pushed_at":"2024-05-08T10:01:03.000Z","size":212,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-14T06:19:22.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lab5e.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-12T17:52:45.000Z","updated_at":"2024-05-08T10:01:07.000Z","dependencies_parsed_at":"2023-12-28T17:29:51.241Z","dependency_job_id":"a9a9c077-b0e5-4d51-adce-fd9e67e1c103","html_url":"https://github.com/lab5e/spancli","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/lab5e/spancli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab5e%2Fspancli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab5e%2Fspancli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab5e%2Fspancli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab5e%2Fspancli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab5e","download_url":"https://codeload.github.com/lab5e/spancli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab5e%2Fspancli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270771897,"owners_count":24642382,"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-16T02:00:11.002Z","response_time":91,"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":[],"created_at":"2025-02-28T19:34:23.843Z","updated_at":"2025-08-16T21:14:43.502Z","avatar_url":"https://github.com/lab5e.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Span command line client\n\nThe Span command line client aims to be a convenient way to manage\nyour [Span](https://console.lab5e.com/) resources.  This is a work in\nprogress so it might be a good idea to check back and update your\ninstall of this command.\n\n## Installing\n\nIf you have Go installed you can install this utility by issuing the following command.\n\n    go get github.com/lab5e/spancli/cmd/span@latest\n\nAlternatively you can download one of the prebuilt binaries from the [releases page](https://github.com/lab5e/spancli/releases)\n\n* [Windows](https://github.com/lab5e/spancli/releases/download/v0.1.16/span.amd64-win.zip)\n* [Linux](https://github.com/lab5e/spancli/releases/download/v0.1.16/span.amd64-linux.zip)\n* [MacOS (Intel-based)](https://github.com/lab5e/spancli/releases/download/v0.1.16/span.amd64-macos.zip)\n* [MacOS (M1-based)](https://github.com/lab5e/spancli/releases/download/v0.1.16/span.arm64-macos.zip)\n* [Raspberry Pi (ARM5)](https://github.com/lab5e/spancli/releases/download/v0.1.16/span.arm5-rpi-linux.zip)\n\nNote that the executables are *not signed*. \n\n## Usage\n\nThe general usage of `span` is\n\n    span [options] \u003csubcommand\u003e [subcommand options]\n\nFor more help please refer to the `-h` option:\n\n    span -h\n\tspan \u003csubcommand\u003e -h\n\n## Environment variables\n\nIn order to make life a bit easier, two of the required command line\noptions can be set from the environment.  Also, it is a good idea to\nnot use the `--token` option if you can avoid it since this makes your\ntoken end up in your command line history.\n\n- `--token` option can be set in `SPAN_API_TOKEN`\n- `--collection-id` option can be set in `SPAN_COLLECTION_ID`\n\nIf you have these environment variables set you can omit their\nrespective options.  If you do specify the command line options they\nwill override what is set in the environment.\n\n## TAB Completion\n\nIn order to get tab completion you can add this to your\n`.bash_profile` or wherever you put your completion settings.\n\n    _completion_span() {\n        # All arguments except the first one\n        args=(\"${COMP_WORDS[@]:1:$COMP_CWORD}\")\n\n        # Only split on newlines\n        local IFS=$'\\n'\n\n        # Call completion (note that the first element of COMP_WORDS is\n        # the executable itself)\n        COMPREPLY=($(GO_FLAGS_COMPLETION=1 ${COMP_WORDS[0]} \"${args[@]}\"))\n        return 0\n    }\n\n    complete -F _completion_span span\n\n\n## Requirements\n\nThis was written in Go 1.18, so you should have Go 1.18 or a newer\nversion of Go installed if you want to edit the code.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab5e%2Fspancli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab5e%2Fspancli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab5e%2Fspancli/lists"}