You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Classic Infrastructure commands are a plugin for the `ibmcloud` cli. First you need to [Install the IBMCLOUD CLI](https://cloud.ibm.com/docs/cli?topic=cli-install-ibmcloud-cli). Then simply install the `sl` plugin with the following command:
12
+
13
+
```bash
14
+
ibmcloud plugin install sl
15
+
```
16
+
17
+
To update, simply run
18
+
19
+
```bash
20
+
ibmcloud plugin update sl
21
+
```
22
+
23
+
## Installation (source build)
24
+
25
+
To install a version of the plugin built locally, you can do the following:
26
+
27
+
1. Build the `sl` plugin binary
28
+
2.`go build`
29
+
3. Install the new `softlayer` binary
30
+
4.`ibmcloud plugin install ./softlayer` (might need to put `./softlayer.exe` for windows installs)
31
+
32
+
When building from source, the plugin gets its version information from `plugin/metadata/sl.go`. You may want to update that number to not get confused with official versions.
33
+
34
+
# Development Project Setup
10
35
11
36
Clone the repo, then just run `go mod vendor` and `go build` and you should have a running binary for the `sl` plugin.
12
37
13
38
14
-
# Testing
39
+
##Testing
15
40
Before making a pull request, make sure everything looks good with these tools.
16
41
Working directory: `$GO_PATH/src/github.ibm.com/SoftLayer/softlayer-cli`
0 commit comments