Skip to content

Commit

Permalink
test: add testing steps to README
Browse files Browse the repository at this point in the history
Signed-off-by: subhamkrai <[email protected]>
  • Loading branch information
subhamkrai committed Dec 12, 2023
1 parent ef31f29 commit 3ccfec2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,32 @@ These are the arguments that apply to all commands:
```bash
odf --context=$(oc config current-context) [commands]
```

## Installation

### Build from source

#### Requirements

- Go >= 1.21
- ODF storage cluster should be installed.

### Build and Run

1. Clone the repository

```bash
git clone https://github.com/red-hat-storage/odf-cli.git
```

2. Change the directory and build the binary

```bash
cd odf-cli/ && make build
```

3. Use the binary present in the`/bin/` directory to run the commands

```bash
./bin/odf -h
```

0 comments on commit 3ccfec2

Please sign in to comment.