{"id":51358687,"url":"https://github.com/k8shell-io/k8shell-cli","last_synced_at":"2026-07-02T21:34:03.658Z","repository":{"id":367591463,"uuid":"1272021088","full_name":"k8shell-io/k8shell-cli","owner":"k8shell-io","description":"k8shell command line interface","archived":false,"fork":false,"pushed_at":"2026-06-26T15:53:39.000Z","size":34223,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-26T17:23:56.940Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k8shell-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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-17T08:05:43.000Z","updated_at":"2026-06-26T15:53:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/k8shell-io/k8shell-cli","commit_stats":null,"previous_names":["k8shell-io/k8shell-cli"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/k8shell-io/k8shell-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8shell-io%2Fk8shell-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8shell-io%2Fk8shell-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8shell-io%2Fk8shell-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8shell-io%2Fk8shell-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k8shell-io","download_url":"https://codeload.github.com/k8shell-io/k8shell-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8shell-io%2Fk8shell-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35064249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"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":"2026-07-02T21:34:01.866Z","updated_at":"2026-07-02T21:34:03.629Z","avatar_url":"https://github.com/k8shell-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k8shell CLI\n\nCommand-line interface for managing k8shell resources — users, sessions, workspaces, and multi-environment contexts.\n\n\u003e Requires a running k8shell platform with the API server reachable at a configured address.\n\n## Installation\n\n```bash\ngo install github.com/k8shell-io/k8shell@latest\n```\n\nOr build from source:\n\n```bash\ngit clone https://github.com/k8shell-io/k8shell-cli.git\ncd k8shell-cli\ngo build -o k8shell .\n```\n\n## Configuration\n\nThe config file lives at `~/.config/k8shell/config.yaml` by default. Override with `--config \u003cpath\u003e`.\n\n```yaml\ncurrent-context: production\ncontexts:\n  - name: production\n    server: https://k8shell.example.com\n    token: \u003cyour-token\u003e\n    username: alice          # populated automatically on login / context add\n  - name: staging\n    server: https://staging.k8shell.example.com\n    token: \u003cyour-token\u003e\n    username: alice\n    insecure: true           # skip TLS verification for this context\n```\n\n`username` and `tokenHash` are written automatically when a context is created via `login` or `context add`. Do not edit them by hand.\n\n## Quick Start\n\n```bash\n# Log in via browser — saves a context automatically\nk8shell login --server https://k8shell.example.com\n\n# Log in again to the same server as a different user (--ignore bypasses the already-logged-in check)\nk8shell login --server https://k8shell.example.com --ignore\n\n# Or add a context manually with a PAT (token is prompted securely if --token is omitted)\nk8shell context add prod --server https://k8shell.example.com\n\n# Add a context for a server with a self-signed certificate\nk8shell context add dev --server https://dev.k8shell.example.com --insecure\n\n# List and switch contexts\nk8shell context list\nk8shell context use prod\n\n# List users\nk8shell user list\n\n# List your active sessions\nk8shell session list\n```\n\n## Documentation\n\nFull documentation is available at [docs.k8shell.io/concepts/k8shell-cli](https://docs.k8shell.io/concepts/k8shell-cli).\n\n## License\n\nCopyright 2026 The k8shell Authors. Licensed under the [GNU Affero General Public License v3.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk8shell-io%2Fk8shell-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk8shell-io%2Fk8shell-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk8shell-io%2Fk8shell-cli/lists"}