Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groovy Shell Grab Command

Release Analytics

update

The code in this repository is no longer needed. The :grab command is now included in groovysh.

description

A standalone :grab command for the Groovy Shell.

GROOVY-6514 is already cleared for the next Apache Groovy release, with a merged Pull Request adding a :grab command. In the meantime, interactively Grabbing dependencies requires a bit of knowledge and typing.

I've found this little Command class useful to tide myself over until a proper :grab command makes it into the shell.

usage

groovy:000> :load https://git.io/v2N1I
===> true
groovy:000> :register GrabCommand
===> true
groovy:000> :grab 'org.spockframework:spock-core:1.0-groovy-2.4'
groovy:000> import spock.lang.Specification 
===> spock.lang.Specification
groovy:000> 

About

A Grab command for the Groovy Shell.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages