Implement command-line argument parser

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: