• R/O
  • HTTP
  • SSH
  • HTTPS

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ファイル情報

Rev. 7e9e914e5af0c5f03f03437241906c0c4c952770
サイズ 1,522 バイト
日時 2018-10-29 19:30:54
作者 Tatsuki Sugiura
ログメッセージ

Update version.

内容

# OSDN Command Line Interface

OSDN command line interface using REST API.

## Requirement

* ruby (>= 1.9.3)
* gem build environment or pre-build ffi gem
* libcurl 

On debian (ubuntu) system, you can install with following packages.

    $ sudo apt-get install ruby ruby-ffi libcurl3

## Installation

You can install by rubygem, type following on terminal. 

    $ gem install osdn-cli

## Usage

First you need to login to API with 'login' subcommand.

    $ osdn login

To get command list use help.

    $ osdn help
    osdn [global-options] <command> [command-options] [args]
    osdn help <command>
    Global Options:
      -h --help      Show help message. use 'help <command>' for specific command. 
      -v --verbose   Increase log level (multiple)
      -q --quiet     Decrease log level (multiple)
    Avaiable Commands:
      help
      login          Login and save access token.
      package        Manipulate frs packages of project
      release        Manipulate frs releases of project
      relfile        Manipulate frs files of project
      frs_mkdirs     Make directory tree for current project release
      frs_upload     Upload local file tree and create package/release implicitly.
      ping           Test API request.
      vars           Get/set request environment variable.


## Contributing

Bug reports and pull requests are welcome on OSDN at https://osdn.jp/projects/osdn-codes/ticket/

## License

Copyright (c) 2016 OSDN

Source files and gem are distributed under MIT License.