Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1 from umm-projects/write_readme
Browse files Browse the repository at this point in the history
README
  • Loading branch information
monry authored Mar 5, 2018
2 parents 5746eea + ccbcf5c commit 8a11da7
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
# What
# Command Runner

*
* cli コマンドを実行

# Why
## Requirement

*
* Unity 2017

# Requirement

*

# Install
## Install

```shell
$ npm install github:umm-projects/command_runner
yarn add github:umm-projects/command_runner
```

# Usage
## Usage

```csharp
using UnityModule.Command;
using UnityEngine;

public class Sample {

public void Run() {
Debug.Log(Runner<string>.Run("git", "status"));
}

}
```

*
* `Runner` クラスの型引数に `UniRx.IObservable<T>` を指定すると [UniRx](https://github.com/umm-projects/unirx) による非同期処理を行います

# License
## License

Copyright (c) 2018 Tetsuya Mori

Expand Down

0 comments on commit 8a11da7

Please sign in to comment.