0.0
No release in over 3 years
Low commit activity in last 3 years
Adds the run command to Hanami CLI allowing to execute ruby code via CLI (much like Rails 'runner' command)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.3.5

Runtime

~> 1.3
 Project Readme

Gem Version Gem

hanami-runner

This gem allows you to add a run subcommand to the hanami command. This is supposed to allow you to execute code via CLI using your Hanami project dependencies (much like runner for Rails).

Installation

Eazy peazy, just add this string to your gemfile

group :plugins do
  gem 'hanami-runner'
end

and then use it with

hanami run '<YOUR-CODE>'

while being in you hanami project root (i.e where the Gemfile is).

Maintenance and Contribution

I'll be rarely maintaining this source code due to lack of time, but i will do as much as i can to resolve any open issues. If you want to contribute, feel free to fork it, branch it and to create a pull request.