← Back to team overview

mahara-contributors team mailing list archive

[Bug 1876177] [NEW] Allow mahara cli interface to accept multiple values for same flag

 

Public bug reported:

This bug report is to allow the extending of the cli interface to accept
multiple values from the same flag

For example, currently if I were to go:

sudo -u www-data php htdocs/admin/cli/sync_langpacks.php -l=de -l=fr
-l=es

It would only update the Spanish (es) language pack

With this change it will allow three options to be read and treated as
an array of de,fr,es

and so update all three language packs

** Affects: mahara
     Importance: Wishlist
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Changed in: mahara
    Milestone: None => 20.10.0

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1876177

Title:
  Allow mahara cli interface to accept multiple values for same flag

Status in Mahara:
  In Progress

Bug description:
  This bug report is to allow the extending of the cli interface to
  accept multiple values from the same flag

  For example, currently if I were to go:

  sudo -u www-data php htdocs/admin/cli/sync_langpacks.php -l=de -l=fr
  -l=es

  It would only update the Spanish (es) language pack

  With this change it will allow three options to be read and treated as
  an array of de,fr,es

  and so update all three language packs

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1876177/+subscriptions


Follow ups