Skip to content

Commit cd49b5e

Browse files
author
Kevin Li
committed
Merge branch 'main' of github.com:apache/cloudstack-cloudmonkey into enforce_post_request
2 parents e056395 + 38cef54 commit cd49b5e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22

33
`cloudmonkey` :cloud::monkey_face: is a command line interface (CLI) for
44
[Apache CloudStack](http://cloudstack.apache.org).
5-
CloudMonkey can be used both as an interactive shell and as a command line tool
6-
which simplifies Apache CloudStack configuration and management.
5+
It can be used both as an interactive shell and as a command-line tool, simplifying Apache CloudStack configuration and management.
76

8-
The modern cloudmonkey is a re-written and simplified port in Go and can be used
7+
The modern CloudMonkey is a rewritten and simplified port in Go, compatible
98
with Apache CloudStack 4.9 and above. The legacy cloudmonkey written in Python
109
can be used with Apache CloudStack 4.0-incubating and above.
1110

1211
For documentation, kindly see the [wiki](https://github.com/apache/cloudstack-cloudmonkey/wiki).
1312

1413
### Development
1514

16-
For development the pre-requisites are Go 1.11 or latest and a unix-like
15+
To develop CloudMonkey, you need Go 1.11 or later and a unix-like
1716
environment. You can use the following targets for building:
1817

1918
$ make help
@@ -78,8 +77,7 @@ platforms such as Linux, Mac and Windows](https://github.com/apache/cloudstack-c
7877

7978
If cloudmonkey is being upgraded from a version lower than v6.0.0, it must be noted
8079
that the cloudmonkey configuration path is changed from `~/.cloudmonkey/config` to
81-
`~/.cmk/config` and a default `localcloud` profile is created. One would have to hence
82-
do an initial setup of basic configuration such apikey/secretkey/username/password/url for the required profile(s) as required
80+
`~/.cmk/config` and a default `localcloud` profile is created. One must first set up basic configurations such as apikey/secretkey/username/password/url for the required profile(s) as required
8381

8482
### License
8583

cli/completer.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ func (t *autoCompleter) Do(line []rune, pos int) (options [][]rune, offset int)
391391
autocompleteAPIArgs = append(autocompleteAPIArgs, "type=Routing")
392392
} else if apiFound.Name == "migrateSystemVm" {
393393
autocompleteAPI.Name = "listSystemVms"
394+
} else if apiFound.Name == "associateIpAddress" {
395+
autocompleteAPIArgs = append(autocompleteAPIArgs, "state=Free")
394396
}
395397

396398
spinner := t.Config.StartSpinner("fetching options, please wait...")

0 commit comments

Comments
 (0)