{"id":24930198,"url":"https://github.com/cgascoig/isctl","last_synced_at":"2026-02-11T07:16:34.598Z","repository":{"id":38015932,"uuid":"269819207","full_name":"cgascoig/isctl","owner":"cgascoig","description":"Cisco Intersight CLI","archived":false,"fork":false,"pushed_at":"2025-07-01T00:12:52.000Z","size":63105,"stargazers_count":16,"open_issues_count":10,"forks_count":4,"subscribers_count":5,"default_branch":"devel","last_synced_at":"2025-07-01T00:35:30.145Z","etag":null,"topics":["cisco-intersight","cli","intersight"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cgascoig.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,"zenodo":null}},"created_at":"2020-06-06T00:26:50.000Z","updated_at":"2025-07-01T00:10:30.000Z","dependencies_parsed_at":"2023-12-08T02:25:16.780Z","dependency_job_id":"6d111835-5bf2-4d0a-9322-6550d508da29","html_url":"https://github.com/cgascoig/isctl","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/cgascoig/isctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgascoig%2Fisctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgascoig%2Fisctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgascoig%2Fisctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgascoig%2Fisctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cgascoig","download_url":"https://codeload.github.com/cgascoig/isctl/tar.gz/refs/heads/devel","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgascoig%2Fisctl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263013713,"owners_count":23399813,"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":["cisco-intersight","cli","intersight"],"created_at":"2025-02-02T13:53:47.749Z","updated_at":"2026-02-02T08:13:59.747Z","avatar_url":"https://github.com/cgascoig.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![User Guide](https://img.shields.io/badge/User%20Guide-Netlify-success)](https://isctl.netlify.app/) [![Build status](https://dev.azure.com/cgascoig/isctl/_apis/build/status/Full%20test?branchName=devel)](https://dev.azure.com/cgascoig/isctl/_build/latest?definitionId=2) [![Go Report](https://goreportcard.com/badge/github.com/cgascoig/isctl)](https://goreportcard.com/report/github.com/cgascoig/isctl)\n# isctl - CLI for Cisco Intersight\n`isctl` is a `kubectl`-insipired CLI for the Cisco Intersight service. \n\n## Features\n\n* Generated automatically from the Intersight OpenAPI v3 spec - it should be easy to keep up with new Intersight features. \n* Written in Go and distributed as MacOS, Linux and Windows binaries - should work anywhere\n* Human, JSON or YAML output\n* [JSONpath](https://goessner.net/articles/JsonPath/) support for extraction and transformation of the data returned from the API\n\n\n# Installation\n\n## MacOS\n\nIf you use [Homebrew](https://brew.sh), the easiest way to install `isctl` is:\n\n```\nbrew install cgascoig/isctl/isctl\n```\n\nIf you don't use Homebew:\n\n* Download the latest release from the [Releases](https://github.com/cgascoig/isctl/releases/latest) page. \n* Unzip and move the `isctl` binary somewhere that is on your path (e.g. `/usr/local/bin`). \n\n\n## Windows\n\nThe easiest way is using the [scoop.sh](https://scoop.sh/) installer:\n\n```\nscoop install https://github.com/cgascoig/isctl/raw/devel/isctl.json\n```\n\nOtherwise:\n\n* Download the latest release from the [Releases](https://github.com/cgascoig/isctl/releases/latest) page. \n* Unzip and move the `isctl.exe` binary somewhere that is on your path. \n\n## Linux\n\n* Download the latest release from the [Releases](https://github.com/cgascoig/isctl/releases/latest) page. \n* Extract the `.tar.gz` and move the `isctl` binary somewhere that is on your path (e.g. `/usr/local/bin`). \n\n# Documentation\n\nThe [Quick Start](#quick-start) below covers the basics but you should review the [Users Guide](https://isctl.netlify.app/) for complete documentation.\n\n# Quick Start\n\n## Initial configuration\n\n### Obtain your API Key\n\n`isctl` interacts with the Cisco Intersight REST API, so it needs an API key. \n\n1. Login to the Intersight GUI. \n2. Generate a new API Key (under Settings -\u003e API Keys). Choose \"API key for OpenAPI schema version 2\" as the API Key Purpose. \n3. Save the key somewhere on your desktop and make a note of the key ID. \n\n### Configure `isctl`\n\nRun `isctl configure` to configure it to use your API key. Follow the prompts for your key ID and path to the key file. (Note: the path to the key file should be an absolute path and doesn't support shell metacharacters such as \"`~`\")\n\n```\nkeyID is currently ''\nEnter new keyID or press Enter to keep existing: 123456789012345678901234/123456789012345678901234/123456789012345678901234\nkey filename is currently ''\nEnter new key file name or press Enter to keep existing: /Users/chris/intersight-key.pem\n2020/06/25 17:28:22 Writing config file\n```\n\n## Querying Intersight\n\nTo retrieve resources from Intersight, use the `isctl get ...` commands. \n\nFor example, to query all objects of a certain type:\n\n```\nisctl get ntp policy\n```\nOutput:\n```\n------------  -----------------------------  ------------------------  -----------------------------\n    Enabled                           Moid                      Name                     NtpServers\n------------  -----------------------------  ------------------------  -----------------------------\n      False       5ecb069c6275722d3143e668           test-ntp-policy\n\n       True       5ee1aa076275722d3122a944          cg-tf-ntp-test-1       10.10.10.10, 10.10.10.12\n------------  -----------------------------  ------------------------  -----------------------------\n```\n\nFor detailed documentation, see the [isctl Users Guide](https://isctl.netlify.app/). \n\n# Development\n\n## How is this built?\n\nThere are a number of steps in the build process as the majority of the code is generated automatically:\n\n1. [OpenAPITools OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) is used to generate the Go models and API client from the Intersight OpenAPI v3 spec. The OpenAPI Generator Go templates are customised to also generate an `operations.yaml` file. \n2. The Go program in `generator-postprocess` is used to parse the `operations.yaml` file and generate the command line structure in `cmd/cli.go`. This postprocess step also cleans up the command naming and creates the help text. \n3. Finally, the `isctl` command is built from the generated `cmd/cli.go` along with some supporting code. \n\n## Creating a release\nThe `Makefile` is used for most of the post processing and building `isctl` for the local system but [GoReleaser](https://goreleaser.com) is used for creating releases on GitHub. \n\n```\n# Create tag and push to GitHub\ngit tag vX.Y.Z\ngit push origin --tags\n\n# Create the release\ngoreleaser --rm-dist\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgascoig%2Fisctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgascoig%2Fisctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgascoig%2Fisctl/lists"}