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

Implement command-line argument parser

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.34.0
    • Affects Version/s: None
    • Component/s: Preferences
    • None
    • 3
    • Iteration Jellyfish, Iteration Kraken
    • 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 .

      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.

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

              Created:
              Updated:
              Resolved: