Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from ZupIT/fix/plzTorit/doc
Browse files Browse the repository at this point in the history
Change plz to rit in doc
  • Loading branch information
erneliojuniorzup authored Jan 22, 2020
2 parents 142fa2a + 150b730 commit 4a88893
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Instalando pelo script:
```
curl -fsSL -o install.sh http://ritchie-cli-bucket234376412767550.s3-website-sa-east-1.amazonaws.com/install.sh
chmod +x install.sh
./install.sh linux bash
./install.sh linux bash (linux) ou ./install.sh linux zsh(mac)
```
Instalando pelo [ Binaries ](Release.md)

Expand All @@ -37,15 +37,15 @@ Instalando pelo [ Binaries ](Release.md)

Linux e macOS:
```
$ chmod +x /path/to/Download/plz
$ sudo mv /path/to/Download/plz /usr/local/bin
$ plz
$ chmod +x /path/to/Download/rit
$ sudo mv /path/to/Download/rit /usr/local/bin
$ rit
A CLI that developers can build and operate
your applications without help from the infra staff.
Complete documentation is available at https://github.com/ZupIT/ritchie-cli
Usage:
plz [command]
rit [command]
Available Commands:
apply Apply objects from some type
Expand All @@ -59,9 +59,9 @@ $ plz
version Print version
Flags:
-h, --help help for plz
-h, --help help for rit
Use "plz [command] --help" for more information about a command.
Use "rit [command] --help" for more information about a command.
```

Expand All @@ -78,22 +78,22 @@ Para usar o Ritchie-CLI siga os seguintes passos:
1. Realizar login para o Ritchie-CLI identificar o usuario:

```
$plz login
$rit login
Login [Organization]: zup
Login [Username]: ernelio
Login [Username]: user
Login [Password]: ********
2020/01/10 13:52:41 Login successful!
```

3. Habilitando auto-complete do Ritchie-CLI:

```
$ source <(plz completion bash)
$ source <(rit completion bash)
```
4. Setando suas credenciais no Ritchie-CLI:

```
$ plz set credential
$ rit set credential
Use the arrow keys to navigate: ↓ ↑ → ←
Credential [Type]:
▸ me
Expand All @@ -117,7 +117,7 @@ $ plz set credential
5. Realizando download das formulas criadas no repositorio:

```
$ plz init
$ rit init
2020/01/10 13:53:52 Loading user session...
2020/01/10 13:53:52 done.
2020/01/10 13:53:52 Loading and saving command tree...
Expand All @@ -130,7 +130,7 @@ $ plz init
6. Utilizando uma formula existente (coffee)

```
$ plz generate scaffold coffee
$ rit generate scaffold coffee
2020/01/10 14:09:26 Running cmd coffee with args []
Type your name: Username
✔ cappuccino
Expand All @@ -141,15 +141,15 @@ $ plz generate scaffold coffee
2020/01/10 14:09:38 ......
2020/01/10 14:09:39 Your cappuccino coffee is ready, enjoy your trip
```
6. Pedindo ajuda com os comandos do plz
6. Pedindo ajuda com os comandos do Ritchie-CLI

```
$ plz generate -h
$ rit generate -h
Generate objects from some type
Usage:
plz generate [flags]
plz generate [command]
rit generate [flags]
rit generate [command]
Available Commands:
github Apply GitHub objects
Expand All @@ -159,13 +159,13 @@ $ plz generate -h
Flags:
-h, --help help for generate
Use "plz generate [command] --help" for more information about a command.
$ plz generate scaffold -h
Use "rit generate [command] --help" for more information about a command.
$ rit generate scaffold -h
Generates a scaffold by some template
Usage:
plz generate scaffold [flags]
plz generate scaffold [command]
rit generate scaffold [flags]
rit generate scaffold [command]
Available Commands:
coffee Generates a project by coffee template
Expand All @@ -174,9 +174,9 @@ $ plz generate scaffold -h
Flags:
-h, --help help for scaffold
Use "plz generate scaffold [command] --help" for more information about a command.
Use "rit generate scaffold [command] --help" for more information about a command.
$ plz generate scaffold coffee
$ rit generate scaffold coffee
2020/01/10 14:09:26 Running cmd coffee with args []
Type your name: Username
✔ cappuccino
Expand Down

0 comments on commit 4a88893

Please sign in to comment.