Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6070

Implement command-line argument parser

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.34.0
    • None
    • Preferences
    • None
    • 3
    • Needed
    • Hide

      Compass now accepts command-line options. Currently, these options largely correspond to our privacy settings, however, more options will be added in the near future. Options can be listed via <path/to/compass> --help.

      Show
      Compass now accepts command-line options. Currently, these options largely correspond to our privacy settings, however, more options will be added in the near future. Options can be listed via <path/to/compass> --help .
    • Iteration Jellyfish, Iteration Kraken

    Description

      Use yargs for parsing command-line options. Pass types for options for which we know a type that yargs understands.

      Display an error message with showErrorBox() when parsing fails.

      This involves adding e2e tests to verify that the CLI arguments take precedence over UI options and UI options are not configurable if set on the command line.

      Attachments

        Activity

          People

            anna.henningsen@mongodb.com Anna Henningsen
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: