lib/ayadn/alias.rb in ayadn-1.0.9 vs lib/ayadn/alias.rb in ayadn-1.0.10
- old
+ new
@@ -1,10 +1,10 @@
# encoding: utf-8
module Ayadn
class Alias < Thor
- desc "alias create CHANNEL ALIAS", "Creates an alias for a channel"
+ desc "create CHANNEL ALIAS", "Creates an alias for a channel"
long_desc Descriptions.alias_create
def create(*args)
begin
init
unless args.empty?
@@ -25,11 +25,11 @@
ensure
Databases.close_all
end
end
- desc "alias delete ALIAS", "Deletes a previously created alias"
+ desc "delete ALIAS", "Deletes a previously created alias"
long_desc Descriptions.alias_delete
def delete(*args)
begin
init
unless args.empty?
@@ -45,11 +45,11 @@
ensure
Databases.close_all
end
end
- desc "alias import DATABASE", "Imports an aliases database from a backed up Ayadn account"
+ desc "import DATABASE", "Imports an aliases database from a backed up Ayadn account"
long_desc Descriptions.alias_import
def import(database)
begin
init
unless database.nil?
@@ -70,10 +70,10 @@
ensure
Databases.close_all
end
end
- desc "alias list", "List previously created aliases"
+ desc "list", "List previously created aliases"
long_desc Descriptions.alias_list
def list
begin
init
puts "\e[H\e[2J"