{"id":26762255,"url":"https://github.com/edosrecki/oopsiee-cli","last_synced_at":"2025-03-28T18:36:53.787Z","repository":{"id":35465539,"uuid":"217697859","full_name":"edosrecki/oopsiee-cli","owner":"edosrecki","description":"A CLI tool for oopsiee-server. Simplifies daily operations and on-call duty by letting you run repeated and cumbersome tasks with one-liners.","archived":false,"fork":false,"pushed_at":"2023-01-04T23:29:28.000Z","size":1086,"stargazers_count":1,"open_issues_count":38,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-22T18:39:10.469Z","etag":null,"topics":["cli","devops","on-call","operations"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/edosrecki.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2019-10-26T11:18:39.000Z","updated_at":"2023-02-13T19:14:04.000Z","dependencies_parsed_at":"2023-01-15T21:42:20.570Z","dependency_job_id":null,"html_url":"https://github.com/edosrecki/oopsiee-cli","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edosrecki%2Foopsiee-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edosrecki%2Foopsiee-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edosrecki%2Foopsiee-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edosrecki%2Foopsiee-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edosrecki","download_url":"https://codeload.github.com/edosrecki/oopsiee-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246081999,"owners_count":20720777,"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","devops","on-call","operations"],"created_at":"2025-03-28T18:36:53.208Z","updated_at":"2025-03-28T18:36:53.762Z","avatar_url":"https://github.com/edosrecki.png","language":"TypeScript","readme":":toc: macro\n:toc-title:\n:toclevels: 10\n\n= oOPSiee 🙈\n\nimage:https://img.shields.io/github/package-json/v/edosrecki/oopsiee-cli/release?color=blue\u0026label=oopsiee-cli[\"oOPSiee CLI Version\"]\nimage:https://img.shields.io/github/workflow/status/edosrecki/oopsiee-cli/Continuous Integration[\"Build Status\", link=\"https://github.com/edosrecki/oopsiee-cli/actions\"]\nimage:https://img.shields.io/david/edosrecki/oopsiee-cli[\"Dependencies Status\"]\n\nA CLI tool for link:https://github.com/edosrecki/oopsiee-server[oopsiee-server]. Simplifies **daily operations** and\n**on-call** duty by letting you run repeated and cumbersome tasks with one-liners.\n\n* Supports **synchronous** commands\n* Supports **asynchronous** jobs\n* Easily **extensible**\n* **Simple** installation and configuration\n* Comes with **help** entries\n* Runs on all **platforms**\n* Uses **private/public key** authentication\n** Supports **encrypted** private keys and integrates with **ssh-agent**\n* Written in **TypeScript**\n* Semi-automatic **dependency updates** with Dependabot\n\n---\n\ntoc::[]\n\n== Installation\n=== Homebrew\n```shell\nbrew install edosrecki/tools/oopsiee\n\n# To update:\nbrew upgrade oopsiee\n```\n\n=== Releases\nDownload a corresponding distribution from https://github.com/edosrecki/oopsiee-cli/releases[Releases] and add\nthe executable to your `PATH`.\n\n=== Build from source\nOptionally, you can also build it from source by building and packaging it manually - see _Build_ and\n_Package_ sections.\n\n== Usage\n=== Configure\n1. https://github.com/edosrecki/oopsiee-server#adding-your-public-key[Add your public key] to `oopsiee-server`.\n2. Log into `oopsiee-cli`:\n\n```shell\n\u003e oopsiee login\n? Username: foobar\n? Private key file path: ~/.ssh/id_rsa\n```\n\n==== Encrypted private key?\nEncrypted private keys are supported via `ssh-agent`, which needs to be configured:\n```shell\noopsiee config set user.ssh-agent-socket \u003cSSH_AGENT_SOCKET\u003e\n```\n\n=== Help\n```shell\noopsiee help\noopsiee help \u003cCOMMAND\u003e\n```\n\n=== Run command\n```shell\n# Run synchronously/asynchronously (whichever is default for command)\noopsiee \u003cCOMMAND\u003e [ARGS] [OPTS]\n\n# Force command to run synchronously\noopsiee \u003cCOMMAND\u003e [ARGS] [OPTS] --sync\n\n# Force command to run asynchronously\noopsiee \u003cCOMMAND\u003e [ARGS] [OPTS] --async\n\n# Fetch results of asynchronous command execution\noopsiee job \u003cID\u003e\n```\n\n== Run\n=== Development mode\n```shell\nnpm run exec:dev -- \u003cCOMMAND\u003e [ARGS] [OPTS]\n```\n\n=== Distribution mode\n```shell\nnpm run exec:dist -- \u003cCOMMAND\u003e [ARGS] [OPTS]\n```\n\n== Build\n```shell\nnpm run clean\nnpm run build\n```\n\n== Package\n=== Pre-configured\n```shell\n# Packages for Node.JS 12 on MacOS, Linux, and Windows\nnpm run bundle\n```\n\n=== Manual\nSee https://www.npmjs.com/package/pkg#targets[pkg] for details.\n\n```shell\nnpx pkg \u003cNODE_RANGE\u003e-\u003cPLATFORM\u003e-\u003cARCH\u003e\n\n# Examples\nnpx pkg node8-macos-x64\nnpx pkg node10-linux-x86\nnpx pkg node6-win-x64\n```\n\n== Test\n```shell\nnpm test\nnpm run test:watch\n```\n\n== Deploy\nTo deploy a new version of `oopsiee-cli`, merge `master` branch into `release` branch.\nNew version will automatically get released by CI system.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedosrecki%2Foopsiee-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedosrecki%2Foopsiee-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedosrecki%2Foopsiee-cli/lists"}