Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

labelito

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

labelito

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Labelito

Build Status Dependency Status

Labelito is a command line tool written in Ruby that automates the label creation on GitHub. It currently supports two ways of creating the labels:

  • Cloning them from an existing repository.
  • Reading them from a template.

Example cloning CocoaPods labels

example

Installation

Add this line to your application's Gemfile:

gem 'Labelito'

And then execute:

$ bundle

Or install it yourself as:

$ gem install Labelito

Usage

Commands:
  labelito clone FROM_OWNER/FROM_REPO TO_OWNER/TO_REPO  # clone the labels from an existing repository
  labelito create TEMPLATE_PATH REPO_OWNER/REPO         # create labels on a repository based on a template
  labelito help [COMMAND]                               # Describe available commands or one specific command

You can specify the GitHub token by:

  • Passing a parameter github_token
  • Defining an environment variable LABELITO_GITHUB_TOKEN

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

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/carambalabs/Labelito. 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.

References

  • Octokit. Ruby client: Link
  • rspec-mocks: Link
  • rspecs-expectations: Link

About

This project is funded and maintained by Caramba. We 💛 open source software!

Check out our other open source projects, read our blog or say :wave: on twitter @carambalabs.

Contribute

Contributions are welcome :metal: We encourage developers like you to help us improve the projects we've shared with the community. Please see the Contributing Guide and the Code of Conduct.

License

CarambaKit is available under the MIT license. See the LICENSE file for more info.

FAQs

Package last updated on 28 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc