@@ -1,4 +1,5 @@
require 'thor'
+require 'abbrev'
module ShopifyAPI
class Cli < Thor
@@ -6,6 +7,10 @@ module ShopifyAPI
class ConfigFileError < StandardError
end
+
+ tasks.keys.abbrev.each do |shortcut, command|
+ map shortcut => command.to_sym
+ end
desc "list", "list available connections"
def list