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

Make CLI Commands more independent #34

Merged
merged 8 commits into from
Jan 30, 2021

Commits on Jan 28, 2021

  1. WIP

    Jordan Shurmer committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    db87b8a View commit details
    Browse the repository at this point in the history
  2. Make new CLI commands more self-actualizing

    - each command exports its own usage info
    - each command parses its own cli options
    - cli.js handles the --help and --version requests
    Jordan Shurmer committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    fd567fd View commit details
    Browse the repository at this point in the history
  3. fix various bugs and typos in new CLI command structure

    Jordan Shurmer committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    9c0b1b0 View commit details
    Browse the repository at this point in the history
  4. Add unimplemented run command

    Jordan Shurmer committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    1872c10 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2021

  1. Redo how cli.js interacts with the commands

    * handle HELP message without a dynamic import
    * clean up repetitive code by using an inline function
    Jordan Shurmer committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    4d7c37e View commit details
    Browse the repository at this point in the history
  2. move help function into cli function to simplify

    Jordan Shurmer committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    911a5c4 View commit details
    Browse the repository at this point in the history
  3. implement the run cli command

    * create cliUtils file to hold shared functions
    Jordan Shurmer committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    cc27a5c View commit details
    Browse the repository at this point in the history
  4. make build the default command again. Oops

    Jordan Shurmer committed Jan 30, 2021
    Configuration menu
    Copy the full SHA
    39514da View commit details
    Browse the repository at this point in the history