Metadata-Version: 2.1
Name: conoha-cli
Version: 0.3.0
Summary: conoha-cli is a command and Python3 library for ConoHa API.
Home-page: https://github.com/yuuki0xff/conoha-cli
Author: yuuki0xff
Author-email: yuuki0xff@gmail.com
License: MIT
Keywords: conoha cli api library cloud
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: Japanese
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Utilities
License-File: LICENSE

conoha-cli
==========

**注意**:
このプロジェクトは長い間メンテナンスされていません。
conoha-cliの代わりに `python-openstackclient <https://pypi.org/project/python-openstackclient/>`_ を使うことをお勧めします。
他の選択肢は `giginc/conoha <https://github.com/giginc/conoha>`_ です。もしメンテナンスを引き継ぎたい方がいらっしゃったら、私に連絡をしてください。

**conoha-cli** は `ConoHa <https://www.conoha.jp/>`_ API のコマンドラインインターフェースとPython3用ライブラリです。

インストール
============
`conoha-cli` はこのコマンドを実行するとインストールでいます::

    $ pip3 install conoha-cli

次に、`~/.config/conoha/config` へこのようなファイルを作成してください。
user, passwd, tenantは、`Conohaコントロールパネルから作成したAPIユーザ <https://www.conoha.jp/guide/g-46.html>`_ の値を入力してください。::

    [api]
    user = xxxxx
    passwd = xxxxx
    tenant = xxxxx

使い方
======
VPSの一覧を確認する::

    $ conoha-cli compute list-vms

マシンリーダブルな形式でも出力できます::

    $ conoha-cli --format plain --header no compute list-vms

VPSを起動・終了・削除する::

    $ conoha-cli compute start-vm $VM_NAME
    $ conoha-cli compute stop-vm  $VM_NAME
    $ conoha-cli compute delete-vm $VM_NAME

ライセンス
==========
MIT
