1.0.1 • Published 3 years ago
mcpoid v1.0.1
Summary
mcp android package manager
- 1: Blazing fast way to add libraries
- 2: No need to search the web for
that
library - 3: Intuitive, easy-to-learn tool
- 4: Add multiple dependencies with a one liner
- 5: Automated dependency and package management
- 6: Automatic import custom urls (e.g. jitpack)
Usage
Simple usage:
mcpoid add
<library>
<module>
Single library
mcpoid add
picasso
app
Multiple
mcpoid add
picasso
retrofit
rxjava
gson
app
Usage
$ mcpoid <command> <params>
$ mcpoid install # Downloads the packages
$ mcpoid test <library> # Tests the library by fetching its version
$ mcpoid add <library> <module> # Adds a dependency to a module
$ mcpoid remove <library> <module> # Removes the dependency from a module
$ mcpoid info <library> # Retrieves the info for this package
$ mcpoid update # Get the latest packages
$ mcpoid list # List all of the packages
$ mcpoid stats # Get some stats regarding the hive
$ mcpoid hive # Opens the hive url
$ mcpoid open <library> # Opens the library's homepage
$ mcpoid search <library> # Searches for the 'library' in the hive
$ mcpoid createapp # Create a cmp android demo project
Examples
$ mcpoid install # Downloads the packages
$ mcpoid info picasso # Shows the info for picasso
$ mcpoid add retrofit app # Adds retrofit to the 'app' module
$ mcpoid rm retrofit app # removes retrofit from the 'app' module
$ mcpoid open gson # Opens GSONs homepage
$ mcpoid search rxjava # Searches the hive for 'rxjava'
$ mcpoid test picasso # Tests the library by fetching its version
Install
npm install -g mcpoid
What is it?
A quick, effective and simple android package management tool for cmp android developers.
if you want to install a cmp android demo project ,just
mcpoid ca
or
mcpoid createapp
if you want to add a library to your app,just
mcpoid add butterknife
and everything will be done for you automatically
Where are the libraries?
Instead of maintaining a server with all the possible libraries I'm going with a brew approach, the community will create
a library once
and it will be available to everyone else forever in the hive!
Follow the instructions to create the <library>.json
file then open the pull request in the hive