Skip to content

Commit

Permalink
Add CLI-reference related to service catalog
Browse files Browse the repository at this point in the history
Added respective command reference related to service catalog in `cli-reference.md`
under docs section
  • Loading branch information
surajnarwade committed Aug 29, 2018
1 parent f6bcc52 commit d8e15fe
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions docs/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Find more information at https://github.com/redhat-developer/odo
| [log](#log) | Retrieve the log for the given component. |
| [project](#project) | Perform project operations |
| [push](#push) | Push source code to a component |
| [service](#service) | Perform service catalog operations |
| [storage](#storage) | Perform storage operations |
| [update](#update) | Update the source code path of a component |
| [url](#url) | Expose component to the outside world |
Expand Down Expand Up @@ -125,13 +126,16 @@ Performs application operations related to your OpenShift project.
```sh
# Get the supported components
odo catalog list

# Search for a supported component
odo search nodejs
odo catalog list components
# Get the supported services from service catalog
odo catalog list services

# Search for a component
odo catalog search pyt
odo catalog search components pyt

# Search for a service
odo catalog search service mysql

```

Expand Down Expand Up @@ -341,6 +345,27 @@ Perform project operations

Push source code to a component.

## service

`service`

> Examples using service
```sh
# Create new mysql-persistent service from service catalog.
odo service create mysql-persistent

# Delete service named 'mysql-persistent'
odo service delete mysql-persistent

# List all services in the application
odo service list


```

Perform service catalog operations

## storage

`storage`
Expand Down

0 comments on commit d8e15fe

Please sign in to comment.