An open API service indexing awesome lists of open source software.

https://github.com/another-guy/solo

CLI tool by Igor Soloydenko for automating routine processes.
https://github.com/another-guy/solo

Last synced: 3 months ago
JSON representation

CLI tool by Igor Soloydenko for automating routine processes.

Awesome Lists containing this project

README

          

# README

## Installation

Currently, only installation from Git repo (sources) is available.
The two steps below can be merged into one.

### Step 1: bash profile function

Register script in `~/.bash_profile`

```sh
solo() {
sh /solo.sh $1
}
```

### Step 2: npm-launching script

`/solo.sh`

```sh
#!/bin/bash

(cd && npm start -- $@)
# e.g. (cd /c/SourceCode/solo && npm start -- $@)
```

### Step 3: Verification

Restart your terminal and run `solo help`.

## Prerequisites

No specific versions are known right now as official prerequisites.

The tool has been tested/used under the following environment:

```sh
$ nvm --version
1.1.11

$ node --version
v22.2.0

$ npm --version
10.7.0

$ python --version
Python 3.12.6
```

Install Python via chocolatey:

```sh
choco install python
```

Install jc python module:

```sh
python -m pip install jc
```

## Building process

Making CLI tool available as a globally installed npm package.
See https://blog.logrocket.com/building-typescript-cli-node-js-commander/.

```sh
# Build
npm run build
# (Re)install
npm install -g .
```

## Roadmap

* Monorepo
* ✅ `mono-analyze`
* ✅ `mono-run-many`
* Git
* ✅ `git-repo-stats`
* NPM
* ✅ `npm-audit`
* ADO
* ✅ `ado-list-remote-repos`
* 🧠 `ado-list-deploys`
* SCV
* ✅ `csv-stats`
* Self-diagnostic
* ✅ `solo-check-health`

🧠 — ideation.
🔨 — in development.
✅ — usable (implemented in some form).

## Examples

```sh
npm start -- help

npm start -- help git-repo-stats

npm start -- git-repo-stats -p 4s-ownership -c /c/SourceCode/solo.json -a 2024-01-01
```