Skip to content

[v0.9.0] CLI argument: naming clash in repl command #350

@JordanMartinez

Description

@JordanMartinez

Notice that both --deps-only and --dependency both use -d.

$ spago repl --help
Usage: spago repl [-c|--global-cache GLOBAL-CACHE] [-d|--dependency DEPENDENCY]
                  [-p|--path PATH] [ ..ANY `PURS COMPILE` OPTION]
                  [-d|--deps-only]
  Start a REPL

Available options:
  -c,--global-cache GLOBAL-CACHE
                           Configure the global caching behaviour: skip it with
                           `skip` or force update with `update`
  -d,--dependency DEPENDENCY
                           Package name to add to the REPL as dependency
  -p,--path PATH           Source path to include
   ..ANY `PURS COMPILE` OPTION
                           Options passed through to `purs compile`; use -- to
                           separate
  -d,--deps-only           Only use sources from dependencies, skipping the
                           project sources.
  -h,--help                Show this help text

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions