E40D Task 22: Improved command line interface · Issue #22 · norjs/web-client · GitHub
[go: up one dir, main page]

Skip to content

Task 22: Improved command line interface #22

@thejhh

Description

@thejhh

New command line arguments:

  • --cwd=DIR -- changes the current process directory to another one before other command line arguments have been processed
  • --dir=DIR -- Use this directory as a default for detecting configuration files. Defaults to CWD.
  • --options=FILE -- loads CLI configuration from this file, and the configuration properties are same as command line options
    • If the FILE is a directory and DIR/norjs.json exists, use it.
  • --config=FILE -- loads app configuration from this file
    • If the FILE is a directory and DIR/app.json exists, use it.
  • norjs run ./path/to/app should also work and initialize it with --dir=FILE instead of --config=FILE

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

      0