fps icon indicating copy to clipboard operation
fps copied to clipboard

Forward CLI args to application

Open davidbrochart opened this issue 2 years ago • 1 comments

Problem

Currently, FPS "captures" CLI arguments and treats them only as configuration options. Anything else passed to the CLI fails, such as subcommands, or arguments and options that are not configuration-related. For instance, in quetz run test_quetz --copy-conf ./dev_config.toml --dev --reload:

  • run is a subcommand.
  • test_quetz is a required argument.
  • --copy-conf is an option that has value ./dev_config.toml.
  • --dev and --reload are flags.

Proposed Solution

FPS should "forward" any subcommand, argument and options that are not configuration-related to the underlying application.

Additional context

This is needed if we want to use FPS in Quetz.

davidbrochart avatar Oct 13 '21 15:10 davidbrochart