Skip to content

Commit

Permalink
Merge pull request #4 from hchenxa/hchenxa
Browse files Browse the repository at this point in the history
update readme and fix the issue in Makefile
  • Loading branch information
qiujian16 authored May 24, 2021
2 parents 43a8433 + ceef38d commit eef852a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ install: build
.PHONY: plugin
plugin: build
cp ${GOPATH}/bin/clusteradm ${GOPATH}/bin/oc-clusteradm
cp ${GOPATH}/bin/clusteradm${GOPATH}/bin/kubectl-clusteradm
cp ${GOPATH}/bin/clusteradm ${GOPATH}/bin/kubectl-clusteradm

.PHONY: check
## Runs a set of required checks
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[comment]: # ( Copyright Contributors to the Open Cluster Management project )
# clusteeradm CLI & CLI Plugin
# clusteradm CLI & CLI Plugin

A CLI and kubernetes CLI plugin that allows you to interact with OCM/ACM to provision and managed your Hybrid Cloud presence from the command-line.

Expand All @@ -9,11 +9,11 @@ Go 1.16 is required in order to build or contribute on this project as it levera

## Installation

The binary will be installed in GOPATH/bin
The binary will be installed in `$GOPATH/bin`
### CLI

```bash
git clone https://open-cluster-management.io/clusteradm.git
git clone https://open-cluster-management-io/clusteradm.git
cd clusteradmin
make build
cm
Expand All @@ -23,7 +23,7 @@ cm

This will create a binary `oc-clusteradm` and `kubectl-clusteradm` in the `$GOPATH/go/bin` allowing you to call `oc clusteradm` or `kubectl clusteradm`
```bash
git clone https://open-cluster-management.io/clusteradm.git
git clone https://open-cluster-management-io/clusteradm.git
cd clusteradm
make plugin
kubectl clusteradm
Expand All @@ -43,4 +43,4 @@ The commands are composed of a verb and a noun and then a number of parameters.

## Cluster commands

[applier](docs/applier.md)
[applier](docs/applier.md)

0 comments on commit eef852a

Please sign in to comment.