Skip to content
Print cheatsheet cards for deck lists
JavaScript HTML CSS Shell Ruby Cucumber
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
features
hooks
lib
public
test
.bowerrc
.csslintrc
.editorconfig
.envrc
.eslintignore
.eslintrc
.gitignore
.jshintignore
.jshintrc
.jslintrc
.lili-ignore
.npmignore
.ruby-version
.scss-lint.yml
.tidyrc
Gemfile
Gruntfile.js
Guardfile
Guardfile-cucumber
Guardfile-lint
README.md
bower.json
package.json
tests.txt
upstart.conf

README.md

cheatmang - Print cheatsheet cards for deck lists

EXAMPLE

$ cat tests.txt
Goblins of the Flarg
Counterspell
Mourning Thrull

$ cheatmang-cli < tests.txt
Cost: 1{W/B}
Cost: R
Cost: UU

HOMEPAGE

http://cheatmang.yellosoft.us/

REQUIREMENTS

Optional

DEVELOPMENT

Dependencies

NPM

$ npm install

Bower

$ bower install

Testing

Ensure the code logic works as expected:

$ npm test

> cheatmang@0.0.1 test /Users/andrew/Desktop/src/cheatmang
> mocha


  ․

  1 passing (642ms)

Ensure the example script works as expected:

$ bundle
$ cucumber
Feature: Run example tests

  Scenario: Running example tests            # features/run_example_tests.feature:3
    Given the program has finished           # features/step_definitions/steps.rb:1
    Then the output is correct for each test # features/step_definitions/steps.rb:5

1 scenario (1 passed)
2 steps (2 passed)
0m0.352s

Guard can automatically run testing when the code changes:

$ bundle
$ guard
...
$ guard -G Guardfile-cucumber
...

Spell Check

$ aspelllint
...

Linting

Keep the code tidy:

$ grunt lint

Guard can automatically lint when the code changes:

$ bundle
$ guard -G Guardfile-lint
...

Git Hooks

See hooks/.

Something went wrong with that request. Please try again.