cloudmonkey: initial Go port (cmk)

- Basic command handling and shell
- API verb, resource autocompletion
- PoC API arg autocompletion with interactive selector

Signed-off-by: Rohit Yadav <rohit@apache.org>
24 files changed
tree: 413a1ff838e642ea5a4636dd697700f37d66e6a3
  1. cli/
  2. cmd/
  3. config/
  4. .gitignore
  5. CHANGES.md
  6. cmk.go
  7. LICENSE
  8. Makefile
  9. NOTICE
  10. performrelease.sh
  11. README.md
README.md

CloudMonkey

cloudmonkey :cloud::monkey_face: is a command line interface (CLI) for Apache CloudStack. CloudMonkey can be use both as an interactive shell and as a command line tool which simplifies Apache CloudStack configuration and management.

The modern cloudmonkey is a re-written and simplified port in Go and can be used with Apache CloudStack 4.9 and above. The legacy cloudmonkey written in Python can be used with Apache CloudStack 4.0-incubating and above.

Usage

Work in progress: 6.0.0-alpha1 (TO BE UPDATED soon)

For modern cloudmonkey usage, please see the usage page.

Legacy cloudmonkey can be installed using pip install cloudmonkey. For legacy cloudmonkey, please see the cwiki usage page.

Development

Build:

$ make build

Run:

$ ./cmk

Build and run:

$ make run

Clean:

$ make clean

Install:

$ make install

Community

You may join the relevant mailing list(s) for cloudmonkey related discussion:

Development Mailing List

Users Mailing List

Contribution

Discuss issue(s) and feature(s) on CloudStack development mailing list. Report issue(s) on the user mailing list and/or open a Github issue.

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Commit your change
  4. Write tests for your change if applicable
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

History

cloudmonkey was originally written in Python and contributed to Apache CloudStack project by Rohit Yadav on 31 Oct 2012 under the Apache License 2.0. The original tool is also referred to as legacy cloudmonkey can be installed using pip install cloudmonkey.

Starting version 6.0.0, referred to as the modern cloudmonkey, is a simplified Go port of the original tool and ships as a standalone executable for several targets such as Linux, Mac and Windows.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.