1.0.5 • Published 3 years ago
mcp-android v1.0.5
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:
mcp add
<library>
<module>
Single library
mcp add
picasso
app
Multiple
mcp add
picasso
retrofit
rxjava
gson
app
Usage
$ mcp <command> <params>
$ mcp install # Downloads the packages
$ mcp test <library> # Tests the library by fetching its version
$ mcp add <library> <module> # Adds a dependency to a module
$ mcp remove <library> <module> # Removes the dependency from a module
$ mcp info <library> # Retrieves the info for this package
$ mcp update # Get the latest packages
$ mcp list # List all of the packages
$ mcp stats # Get some stats regarding the hive
$ mcp hive # Opens the hive url
$ mcp open <library> # Opens the library's homepage
$ mcp search <library> # Searches for the 'library' in the hive
$ mcp create # Create a cmp android demo project
Examples
$ mcp install # Downloads the packages
$ mcp info picasso # Shows the info for picasso
$ mcp add retrofit app # Adds retrofit to the 'app' module
$ mcp rm retrofit app # removes retrofit from the 'app' module
$ mcp open gson # Opens GSONs homepage
$ mcp search rxjava # Searches the hive for 'rxjava'
$ mcp test picasso # Tests the library by fetching its version
Install
npm install -g mcp-android
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
mcp c
or
mcp create
if you want to add a library to your app,just
mcp 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