Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #138 from nwinkler/java-plugin

Java plugin
  • Loading branch information...
commit 84fac4f6801bbfaa1697052cbf2888db0d2c2eb3 2 parents 311f95b + 998c097
@tswicegood tswicegood authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 plugins/available/java.plugin.bash
View
11 plugins/available/java.plugin.bash
@@ -0,0 +1,11 @@
+cite about-plugin
+about-plugin 'Java and JAR helper functions'
+
+function jar_manifest {
+ about "extracts the specified JAR file's MANIFEST file and prints it to stdout"
+ group 'java'
+ param '1: JAR file to extract the MANIFEST from'
+ example 'jar_manifest lib/foo.jar'
+
+ unzip -c $1 META-INF/MANIFEST.MF
+}
Please sign in to comment.
Something went wrong with that request. Please try again.