crtm

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: MIT

README

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

Intro

Chainreactors's Open Source Tool Manager

FeaturesInstallationUsageRunning 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 -
go install -v github.com/chainreactors/crtm/cmd/crtm@latest
  1. 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:

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

$ 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

Directories

Path Synopsis
cmd
crtm command
internal
pkg
path
Package path is useful for managing PATH as part of the Environment in the Windows HKey Local User registry.
Package path is useful for managing PATH as part of the Environment in the Windows HKey Local User registry.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL