Skip to content

Commit

Permalink
updating console usage in Module.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Plamen Garkov committed Dec 16, 2016
1 parent 8b541a6 commit 57eaa1d
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions module/share-a-sale/src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,31 @@ public function getConsoleUsage(Console $console)
{
return array(
// Describe available commands
'shareasale traffic [--limit=] [--verbose|-v]' => 'fetch usa today booklists',
'shareasale get-products [--limit=] [--verbose|-v]' => 'fetch usa today dates',
'shareasale activity [--verbose|-v]' => 'call activity service method',
'shareasale activity-summary [--verbose|-v]' => 'call activitySummary method',
'shareasale merchant-timespan [--verbose|-v]' => 'call merchantTimespan method',
'shareasale daily-activity [--verbose|-v]' => 'call dailyActivity method',
'shareasale monthly-summary [--verbose|-v]' => 'call monthlySummary method',
'shareasale voidtrail [--verbose|-v]' => 'call voidtrail method',
'shareasale traffic [--verbose|-v]' => 'call traffic method',
'shareasale apitokencount [--verbose|-v]' => 'call apitokencount method',
'shareasale get-products [--verbose|-v]' => 'call getProducts service method',
'shareasale invalid-links [--verbose|-v]' => 'call invalidLinks method',
'shareasale order-inquiry [--verbose|-v]' => 'call orderInquiry method',
'shareasale merchant-data-feeds [--verbose|-v]' => 'call merchantDataFeeds method',
'shareasale coupon-deals [--verbose|-v]' => 'call couponDeals method',
'shareasale merchant-status [--verbose|-v]' => 'call merchantStatus method',
'shareasale merchant-creative [--verbose|-v]' => 'call merchantCreative method',
'shareasale merchant-gift-card [--verbose|-v]' => 'call merchantGiftCard method',
'shareasale edittrail [--verbose|-v]' => 'call edittrail method',
'shareasale payment-summary [--verbose|-v]' => 'call paymentSummary method',
'shareasale merchant-search [--verbose|-v]' => 'call merchantSearch method',
'shareasale merchant-search-product [--verbose|-v]' => 'call merchantSearchProduct method',
'shareasale ledger [--verbose|-v]' => 'call ledger method',
'shareasale balance [--verbose|-v]' => 'call balance method',

// Describe expected parameters
array(
'--limit',
'(optional) limit',
'--sleep',
'(optional) seconds to sleep',
'--verbose|-v',
'(optional) turn on verbose mode'
),
Expand Down

0 comments on commit 57eaa1d

Please sign in to comment.