Project

knossoscli

0.0
No commit activity in last 3 years
No release in over 3 years
A command line companion to the `knossos` Ruby gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0
~> 3.0

Runtime

~> 0.2.0
~> 1.0
 Project Readme

Knossos CLI

A command line companion to the knossos Ruby gem for generating mazes.

Installation

Install globally with:

~$ gem install knossoscli

Usage

The Knossos CLI actually comprises a suite of commands similar to familiar tools like git and bundler. You can see a summary of the available sub-commands by invoking:

~$ knossos help

More detailed documentation for each sub-command is available with, for example:

~$ knossos help carve

Generate a maze in your terminal:

~$ knossos carve --rows=5 --columns=7 --algorithm=RecursiveBacktracker

Contributing

Bug reports and pull requests are welcome on GitHub. Knossos provides a safe, welcoming space for collaboration. Everyone contributing to our project—including the codebase, issue trackers, chat, email, social media and the like—is expected to uphold our Code of Conduct.

Setting Up

Fork the project on GitHub and make a local clone. Install dependencies, and run the tests:

~/knossoscli$ bin/setup
~/knossoscli$ bundle exec rake rspec

Running the Code

Run the command itself with:

~/knossoscli$ bundle exec exe/knossos

Or, you can experiment directly with the code interactively using:

~/knossoscli$ bin/console

Publishing

To release a new version of the library, first increment the version number in lib/knossoscli/version.rb following Semantic Versioning policy, and update CHANGELOG.md. Commit your work, and finally, run:

# Create a git tag, push commits and tags, and publish to rubygems.org
~/knossoscli$ bundle exec rake release

License

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


This file is composed with GitHub Flavored Markdown.