Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdeurt/octoshark
Advanced GitHub CLI utilities
https://github.com/jdeurt/octoshark
Last synced: about 2 months ago
JSON representation
Advanced GitHub CLI utilities
- Host: GitHub
- URL: https://github.com/jdeurt/octoshark
- Owner: jdeurt
- License: mit
- Created: 2022-08-18T20:58:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T07:07:42.000Z (about 2 years ago)
- Last Synced: 2024-10-13T23:37:08.567Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Octoshark
[![Version](https://img.shields.io/npm/v/oshark.svg)](https://www.npmjs.com/package/oshark)
![Prerequisite](https://img.shields.io/badge/node-%3E%3D16-blue.svg)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)> Advanced GitHub CLI utilities
## Table of contents
- [Intstallation](#installation)
- [Commands](#commands)
- General
- [connect](#connect)
- [protocol](#protocol)
- [status](#status)
- Repo
- [repo comb](#repo-comb)
- [repo copy](#repo-copy-cp)
- [repo create](#repo-create-c)
- [repo delete](#repo-delete-rm)
- Secrets
- [secrets group create](#secrets-group-create-c)
- [secrets group delete](#secrets-group-delete-rm)
- [secrets group get](#secrets-group-get)
- [secrets group push](#secrets-group-push-p)
- Util
- [util generate](#util-generate-g)
- [License](#license)## Installation
### NPM
```bash
npm i oshark -g
```### Yarn
```bash
yarn global add oshark
```## Commands
**Use the `--help` flag if you ever want to view more information about a command**
```bash
oshark --help
```### connect
Connects Octoshark to your GitHub account
```bash
oshark connect
```### protocol
Sets the connection protocol that should be used when interacting with repositories using `git`
```bash
oshark protocol "ssh"
```### status
Displays general information about Octoshark
```bash
oshark status
```### repo comb
Loops through your repositories and allows you to mark them for deletion/privatization
```bash
oshark repo comb
```### repo copy (cp)
Copies a repository
```bash
oshark repo cp "user/repo" "user/repo-copy"
```### repo create (c)
Crates a new repository
```bash
oshark repo c --name "my-awesome-repo" --description "Hello World!"
```### repo delete (rm)
Deletes a repository
```bash
oshark repo rm "user/my-awesome-repo"
```### secrets group create (c)
Creates a new local secret group
```bash
oshark secrets group c "shh"
```### secrets group delete (rm)
Deletes a local secret group
```bash
oshark secrets group rm "shh"
```### secrets group get
Retrieves a local secret group
```bash
oshark secrets group get "other-shh"
```### secrets group push (p)
Pushes a local secret group to an existing repository as an environment
```bash
oshark secrets group p "other-shh" "user/repo" "MY_ENV"
```### util generate (g)
Generates a file/directory from an existing template
```bash
oshark util g "gitignore"
```## License
MIT © [Juan de Urtubey](https://jdeurt.xyz)