• This repository has been archived on 12/Jul/2022
  • Stars
    star
    560
  • Rank 79,541 (Top 2 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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 ⚙️ 🖥 💡

The Ritchie CLI project has been archived by Zup Innovation. It might start again eventually; however, we won't deliver support for now.

codecov License

Ritchie logo with the phrase: Keep it simple

Table of contents

1. About

2. Getting Started

2.1. Installation

2.2 Initialize rit locally

2.3. Add your first formulas repository

2.4. Run the Hello World formula

2.5. Usage

3. Cheat Sheet

4. Documentation

5. Code of Conduct

6. Contributing

7. License

8. Community

About

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

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

Getting started

Installation

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.

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

Usage

gif containing the command demonstration

Cheat Sheet

Ritchie CLI Cheat Sheet

Documentation

You can find Ritchie's documentation on our website.

Contributing

Feel free to use, recommend improvements, or contribute to new implementations.

Check out our contributing guide to learn about our development process, how to suggest bug fixes and improvements.

Check out other guides:

Developer Certificate of Origin - DCO

This is a security layer for the project and for the developers. It is mandatory.

Follow one of these two methods to add DCO to your commits:

1. Command line Follow the steps: Step 1: Configure your local git environment adding the same name and e-mail configured at your GitHub account. It helps to sign commits manually during reviews and suggestions.

git config --global user.name “Name”
git config --global user.email “[email protected]

Step 2: Add the Signed-off-by line with the '-s -S' flag in the git commit command:

$ git commit -s -S -m "This is my commit message"

2. GitHub website You can also manually sign your commits during GitHub reviews and suggestions, follow the steps below:

Step 1: When the commit changes box opens, manually type or paste your signature in the comment box, see the example:

$ git commit -m “My signed commit” Signed-off-by: username <email address>

For this method, your name and e-mail must be the same registered to your GitHub account.

Code of Conduct

Please follow the Code of Conduct in all your interactions with our project.

License

Apache License 2.0.

Community

Do you have any question or suggestion about Ritchie CLI? Let's chat in our forum.

More Repositories

1

horusec

Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command.
Go
1,014
star
2

beagle

A framework to help implement Server-Driven UI in your apps natively.
Shell
684
star
3

charlescd

CharlesCD is an open source tool that makes deployments more agile, continuous and safe, which allows development teams to perform hypothesis validations with a specific group of users, simultaneously.
TypeScript
336
star
4

ritchie-formulas

This repository contains the community formulas that can be executed through Ritchie CLI once imported. This tool is an open source product that allows you to create, store and share any kind of automations, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡
Go
104
star
5

horusec-platform

Horusec Platform is a set of web services that integrate with the Horusec CLI to facilitate the visualization and management of found vulnerabilities.
Go
54
star
6

pact-framework-examples

39
star
7

beagle-web-core

Project: Produto - Beagle
TypeScript
24
star
8

beagle-web-react

Project: Produto - Beagle
TypeScript
22
star
9

horusec-engine

Horusec analysis engine
Go
21
star
10

zup-checkstyle-java

20
star
11

beagle-web-angular

Project: Produto - Beagle
TypeScript
20
star
12

beagle-ios

Swift
19
star
13

beagle-android

Kotlin
19
star
14

ritchie-formulas-demo

This repository contains some demonstration formulas that can be executed through Ritchie CLI once imported. This tool is an open source product that allows you to create, store and share any kind of automations, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡
Shell
18
star
15

nimbus-compose

Library for enabling Server Driven UI in Jetpack Compose
Kotlin
17
star
16

horusec-vscode-plugin

Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command. Now you can usage extension for vscode.
TypeScript
17
star
17

QueroTrabalharNaZUP

16
star
18

nimbus-swiftui

Library for enabling Server Driven UI in SwiftUI
Swift
14
star
19

nimbus-docs

14
star
20

vagas

vagas
14
star
21

horusec-docs

Horusec oficial documentation
HTML
11
star
22

horusec-examples-vulnerabilities

Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command.
Elixir
11
star
23

horusec-operator

Horusec Kubernetes Operator
Go
9
star
24

beagle-docs

Beagle Documentation
HTML
8
star
25

owldency

Action that checks if your application uses dependencies with known vulnerabilities.
JavaScript
7
star
26

nimbus

Libraries for enabling Server Driven UI in Jetpack Compose and SwiftUI
Kotlin
7
star
27

beagle-examples

Project: Produto - Beagle
Kotlin
7
star
28

horusec-devkit

Repository containing several Horusec abstractions and reusable codes.
Go
7
star
29

nimbus-layout-compose

Layout components for Nimbus Compose (SDUI)
Kotlin
7
star
30

beagle-flutter

Dart
7
star
31

horusec-admin

Go
7
star
32

beagle-adoption-demo

Project:beagle-adoption-demo
Kotlin
7
star
33

opensource-tech-radar

The Zup Open Source Tech Radar
HTML
6
star
34

charlescd-c4model

Documentation of CharlesCD architecture using C4Model
JavaScript
5
star
35

horusec-c4model

JavaScript
4
star
36

beagle-backend-kotlin

Kotlin
4
star
37

beagle-backend-ts

TypeScript
4
star
38

beagle-helpers

beagle-helpers
Kotlin
4
star
39

horusec-intellij-plugin

Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command. Now you can usage extension for intellij.
Makefile
4
star
40

go-vault-session

Project: Produto - Microservicos
Go
3
star
41

nimbus-layout-swiftui

Layout components for Nimbus SwiftUI (SDUI)
Swift
3
star
42

horusec-jenkins-sharedlib

Horusec Library to integrate with jenkins
Groovy
3
star
43

beagle-tests

Kotlin
3
star
44

charlescd-operator

An operator that enables Hypothesis-Driven Testing
Go
3
star
45

nimbus-backend-ts

Backend library in Typescript for Nimbus SDUI
TypeScript
3
star
46

ritchie-docs

This repository contains Ritchie CLI documentation ⚙️ 🖥 💡
CSS
3
star
47

charlescd-docs

CharlesCD repository documentation.
2
star
48

ritchie-templates

Repository containing Ritchie CLI formulas templates
Shell
2
star
49

horusec-action

GitHub action for Horusec
JavaScript
2
star
50

nimbus-core-binaries

Binaries for core Nimbus Library, which is used for enabling Server Driven UI in SwiftUI
Objective-C
2
star
51

horusec-charts

Project: Core Shield - 239 SRE
2
star
52

beagle-intellij-plugin

Project:beagle-intellij-plugin-ce
Kotlin
1
star
53

horusec-docs-hugo-theme

horusec-docs-hugo-theme
CSS
1
star
54

YogaKit

Project:376 Produto - Beagle
C++
1
star
55

header-license-checker

JavaScript
1
star
56

beagle-grpc

beagle-grpc
TypeScript
1
star
57

charlescd-local-cluster

Install CharlesCD via Terraform in your local environment.
HCL
1
star
58

docs-charles

CharlesCD Documentation
HTML
1
star
59

horusec-adr

Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command.
Makefile
1
star