Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1485

Create "AbstractCommand::initDependencies" method

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0-B1
    • Component/s: Console
    • Labels:
      None
    • Change Log Group:
      Added
    • Change Log Message:
      Console commands can specify their dependencies, that have effect on option/argument auto-complete as well.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Plan:

      1. create the "AbstractCommand::initDependencies" method
      2. make "AbstractCommand" implement the "CompletionAwareInterface" and in each method:
        • call the "initDependencies" method
        • return empty suggestions list
      3. call "initDependencies" method from "initialize" method as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Gleb Sinkovskiy [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: