summaryrefslogtreecommitdiff
path: root/lib/pgxn_utils.rb
diff options
context:
space:
mode:
authorDickson S. Guedes2011-05-19 02:42:36 +0000
committerDickson S. Guedes2011-05-19 02:42:36 +0000
commitd8f144ec4f709410cce0ad09e7919b3c0ed20f92 (patch)
tree817055336e967d5ce5de8105d15130c6380ac5e9 /lib/pgxn_utils.rb
parente67ed03ef3745f97c88eeb2de369eff071e97197 (diff)
Re-use options used at create skeleton to future
Now, when you create a new extension and sometime after try to recreate it with 'skeleton', the arguments has priority, and that args that isn't explicit passed again, are re-used from META.json. Refs #1.
Diffstat (limited to 'lib/pgxn_utils.rb')
-rw-r--r--lib/pgxn_utils.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pgxn_utils.rb b/lib/pgxn_utils.rb
index e16c13a..c68f812 100644
--- a/lib/pgxn_utils.rb
+++ b/lib/pgxn_utils.rb
@@ -1,4 +1,5 @@
require 'thor'
+require 'json'
module PgxnUtils
autoload :CLI, 'pgxn_utils/cli'