otaviojava / ritchie-cli

Ritchie CLI is an open-source tool that allows to create, store and share any kind of automation, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡

Home Page:https://docs.ritchiecli.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI codecov License

Ritchie logo with the phrase: Keep it simple

Summary

All your automations in one place

Ritchie CLI is an open source project that allows to create, store and share automations, executing them through command lines.

Usage

gif containing the command demonstration

A customizable CLI automation tool

This repository contains the CLI core, which can execute formulas stored inside other repositories such as ritchie-formulas or ritchie-formulas-demo.

In Ritchie's context, a formula is a script that can be executed automatically or interactively through a command line.

Adapting an existing script to Ritchie structure allows you to run it locally or through Docker, and to share it on a Git repository.

Formulas explanation

Documentation

🚀 Quick start 🤖

1️⃣ Install rit latest version

Linux

curl -fsSL https://commons-repo.ritchiecli.io/install.sh | bash

MacOS

curl -fsSL https://commons-repo.ritchiecli.io/install.sh | bash

Windows

winget install Ritchie-CLI

You can also download rit packages or specific versions according to the OS on the documentation

2️⃣ Initialize rit locally

rit init

Note: You need to import the commons repository to be able to create formulas.

Sharing metrics anonymously will help us improving the tool. For any question, check our privacy policy.

3️⃣ Add your first formulas repository

To access the "hello-world" formula, you need to add the ritchie-formulas-demo repository locally.

To do so, you can use the rit add repo command manually on your terminal, or execute the command line below with input flags:

rit add repo --provider="Github" --name="demo" --repoUrl="https://github.com/ZupIT/ritchie-formulas-demo" --priority=1

4️⃣ Run the Hello World formula

Execute the "hello-world" formula through the command line below:

rit demo hello-world

Note: This formula has been implemented using Golang, so to use it locally you'll need Golang to be installed on your machine. If you don't have or don't want to install Golang, you can use the same command with Docker:

rit demo hello-world --docker

🤝 Contributing to Ritchie

Zup open source

Zup forum

About

Ritchie CLI is an open-source tool that allows to create, store and share any kind of automation, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡

https://docs.ritchiecli.io

License:Apache License 2.0


Languages

Language:Go 96.6%Language:Shell 2.2%Language:Makefile 0.6%Language:HTML 0.3%Language:PowerShell 0.2%Language:Dockerfile 0.0%Language:Batchfile 0.0%