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

https://github.com/chainreactors/crtm


https://github.com/chainreactors/crtm

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

**fork from https://github.com/projectdiscovery/pdtm**

## Intro

Chainreactors's Open Source Tool Manager





Features
Installation
Usage
Running crtm

**crtm** is a simple and easy-to-use golang based tool for managing open source projects from Chainreactors.

## Installation

**`crtm`** requires **go1.19** to install successfully. Run the following command to install the latest version:

1. Install using go install -

```sh
go install -v github.com/chainreactors/crtm/cmd/crtm@latest
```

2. Install by downloading binary from https://github.com/chainreactors/crtm/releases

> **Notes**:

> - *Currently, projects are installed by downloading the released project binary. This means that projects can only be installed on the platforms for which binaries have been published.*
> - *The path $HOME/.crtm/go/bin is added to the $PATH variable by default*

## Usage:

```console
crtm is a simple and easy-to-use golang based tool for managing open source projects from ProjectDiscovery

Usage:
./crtm [flags]

Flags:
CONFIG:
-config string cli flag configuration file (default "$HOME/.config/crtm/config.yaml")
-bp, -binary-path string custom location to download project binary (default "$HOME/.crtm/go/bin")

INSTALL:
-i, -install string[] install single or multiple project by name (comma separated)
-ia, -install-all install all the projects
-ip, -install-path append path to PATH environment variables

UPDATE:
-u, -update string[] update single or multiple project by name (comma separated)
-ua, -update-all update all the projects
-up, -self-update update crtm to latest version
-duc, -disable-update-check disable automatic crtm update check

REMOVE:
-r, -remove string[] remove single or multiple project by name (comma separated)
-ra, -remove-all remove all the projects
-rp, -remove-path remove path from PATH environment variables

DEBUG:
-sp, -show-path show the current binary path then exit
-version show version of the project
-v, -verbose show verbose output
-nc, -no-color disable output content coloring (ANSI escape codes)
-disable-changelog, -dc disable release changelog in output
```

## Running crtm

```console
$ crtm -install-all
[INF] Current crtm version v0.0.1
[INF] installing gogo...
[INF] installed gogo v2.13.2 (latest)
[INF] installing spray...
[INF] installed spray v0.9.9 (latest)
[INF] installing zombie...
[INF] installed zombie v1.2.0 (latest)
```

## Thanks

* https://github.com/projectdiscovery/pdtm , crtm modified from pdtm, thanks to pdtm's work