/commander

Set of reactive functions for cli tools like Swarmer and Composer.

Primary LanguageKotlinApache License 2.0Apache-2.0

Commander — set of reactive functions for cli tools.

Commander provides functions to work with processes, files and other things useful for cli tools like Swarmer and Composer.

Modules:

  • os — functions to work with processes and files on different Operating Systems.
  • android — functions to work with Android SDK Tools like adb, avdmanager, sdkmanager.

Changes in this fork

This is a fork of gojuno/commander. Changes in this fork compared to gojuno's version:

  • Windows support by using proper `Path.Separator

Download

Commander is available on bintray. Add this repo to your gradle list:

     repositories {
        // (other repos here)
        maven {
            url  "https://jitpack.io"
        }
    }

...then in your application

compile 'com.github.Nilzor.commander:os:0.2.2'
compile 'com.github.Nilzor.commander:android:0.2.2'

All the releases and changelogs can be found on Releases Page.

How to build

Dependencies: you only need docker and bash installed on your machine.

bash ci/build.sh

License

Copyright 2017 Juno, Inc.

Licensed 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.