You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "sai krishna (JIRA)" <ji...@apache.org> on 2014/03/02 20:52:31 UTC
[jira] [Commented] (LIBCLOUD-160) Command Line Interface (GSoC
task)
[ https://issues.apache.org/jira/browse/LIBCLOUD-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917538#comment-13917538 ]
sai krishna commented on LIBCLOUD-160:
--------------------------------------
I have found this interesting text from Roman:
"I think we can use Tomaz's suggestion as a starting point:
libcloud <api> <resource> <action>"
Basing on the above quote from Roman's mail and the python-raxcli's look and feel
(raxcli) help registry
Command "registry" matches:
- registry services list
- registry services get
Can I expect the same output format?
One more doubt:
api here can be one of the supported compute, storage, dns, load-balancers
what are the <resources> ?
I have identified possible <actions> to be:
list, get , set, remove,
Please help me with <resource> and <action> so that I will frame the proposal draft of the feature and post on Jira page for the same.
Following your earlier suggestions:
1. Getting familiar with the library
I followed this link and am able to successfully interact.
https://libcloud.apache.org/blog/2014/02/18/libcloud-0-14-and-google-cloud-platform.html
2. Getting familiar with the code base
I have Checked some already fixed bugs and I am currently working on Libcloud-230
3.To Start Drafting a proposal:
Working on the same and got the above doubts regarding the command framming.
Best Regards,
-- saikrishna.
> Command Line Interface (GSoC task)
> ----------------------------------
>
> Key: LIBCLOUD-160
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-160
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Tomaz Muraus
> Assignee: Roman Bogorodskiy
> Labels: gsoc, gsoc2012, gsoc2014, mentor, python
> Attachments: [jira] [Updated] (LIBCLOUD-160) Command Line Interface (GSoC task), [jira] [Updated] (LIBCLOUD-160) Command Line Interface (GSoC task), [jira] [Updated] (LIBCLOUD-160) Command Line Interface (GSoC task), [jira] [Updated] (LIBCLOUD-160) Command Line Interface (GSoC task)
>
>
> This is an umbrella issue for Libloucd Command Line Interface task.
> ================================================
> Description:
> A command line client for all of the APIs supported by libcloud (compute, storage, dns, load-balancers).
> Goals:
> - Build a CLI client for all of the APIs supported by Libcloud
> - Support for Python 2 and Python 3
> - Different user and machine readable output formats (tabular, json, csv, ...)
> - Colors
> - Bash auto-completion
> - Try to generate as much of the interface and commands programatically by parsing the code and docstrings. See https://github.com/islamgulov/libcloud.rest for some examples.
> For an example of how the client should look like, see https://github.com/racker/python-raxcli
--
This message was sent by Atlassian JIRA
(v6.2#6252)