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

Add command line configuration options to node server #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jjelosua
Copy link

@jjelosua jjelosua commented Mar 2, 2017

  • Fixed some typos
  • Fixed CreateFileStream flags option
  • Added minimist for handling command line arguments.
Usage: index.js [options]

    A intermediate node web server to cache CSPAN transcript feed

    Options:
      -h, --help           output usage information
      -p, --port           server port
      -t, --transcript     relative path to the file to store transcript
      -s, --skip           if present, skips initial load of the transcript file
      -f, --flags          mode to apply to the transcript file; a: append, w: write

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant