Skip to content
Pretty Cure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE.txt
README.md
build.gradle

README.md

groovycure

Join the chat at https://gitter.im/ligun/groovycure Download Build Status Stories in Ready

All about Japanese battle heroine "Pretty Cure"

Inspired by pycure & rubicure

groovycure library

Groovycure library is a implementation of Precure by Groovy.

Installation

Use Grape in Groovy script file.

@Grab('groovycure:groovycure:0.0.8')

Or install it using Gradle

repositories {
  jcenter()
}
dependencies {
  compile 'groovycure:groovycure:0.0.8'
}

Usage

Run with Grape

@Grab('groovycure:groovycure')
import groovycure.Precure

println Precure.now()

Or run with Gradle

import groovycure.Precure

println Precure.now()

If you execute groovycure in groovysh

$ groovysh

> groovy.grape.Grape.grab(group:'groovycure',module:'groovycure')
> import grooycure.Precure
>
> println Precure.now()

===> キラキラ☆プリキュアアラモード

precure command

Groovycure can be used as a command.
Command name is "precure".
It supports Unix shell and Windows command prompt.

Installation

You need to build & install yourself with Gradle.

git clone https://github.com/ligun/groovycure
cd groovycure
gradlew jarsh

Gradle jarsh task creates an executable Jar file wrapped in shell or batch script.
If you success a build, command files are created to "./build/scripts/". You can use precure command by moving the file to bin directory.

cp ./build/scripts/precure /usr/local/bin

Usage

Option

option full name description
-a --all Display all Precure information
-e Execute Groovy script with imported groovycure
-v --version Display precure commad version
-h --help Display help

Example

$ precure -e "prinntln Precure.now()"
キラキラ☆プリキュアアラモード

Release Note

0.0.8

  • Support キラキラ☆プリキュアアラモード

0.0.7

  • Support 魔法使いプリキュア
  • Change Series and Girls object to List from Map
  • Change that Precure class behaves as an instance
  • Add transformAll method to Girls class
  • Add detransform method to Girls class
  • Support "precure" shell command

0.0.6

  • Add all of goprincess girls

0.0.5

  • Bug fix (Add transform message to CureFlora)

0.0.4

  • Support Go!プリンセスプリキュア

0.0.3

  • Change so that girls object can not modified arbitrarily

0.0.2

  • Sort by broadcast order of series
  • Change so that series object can not modified arbitrarily

0.0.1

  • First release
You can’t perform that action at this time.