Apm

Arduino Package Manager aims to be a simple, helpful and easy to use command-line tool or manage libraries and other stuf of Arduino software. For now it only is able to manage libraries. This tool let you install new libs, list the installed libs and other useful information, create new libs and bundle it into package. The remote services are not availabe now, I need to colect some money to mantain the service (server mostly) in the future. But as test the official packages are availabe to download and isntall.

This application is inspired in the Ruby (gem) package system and distribution. It is olso written in Ruby.

Installation

As easy as any nother gem:

    $ gem install apm

Usage

This tool works as a common command line tool. See below the available commands:

  • Show all available commands

    $ apm
    
  • Install library directly from directory or ZIP file.

    $ apm install [DIR|ZIP]
    
  • Uninstall libraries.

    $ apm uninstall NAME
    
  • List installed libraries

    $ apm list
    
  • Show info about a library

    $ apm info NAME
    
  • Seach libraries from remote sources

    $ apm search NAME
    
  • Create new library

    $ apm new [NAME]
    
  • Create a new library.

    $ apm create [NAME]
    
  • Bundle a existing library to distribute

    $ apm bundle [DIR|URL]
    
  • Show current version of the package

    $ apm [ -v | version ]
    

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment. Run bundle exec apm to use the gem in this directory, ignoring other installed copies of this gem.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/apm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.