Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 22: Improved command line interface #22

Open
7 tasks done
thejhh opened this issue Nov 30, 2018 · 0 comments
Open
7 tasks done

Task 22: Improved command line interface #22

thejhh opened this issue Nov 30, 2018 · 0 comments

Comments

@thejhh
Copy link
Contributor

thejhh commented Nov 30, 2018

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
@thejhh thejhh changed the title Task: Improved command line interface Task 22: Improved command line interface Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant