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

feat(cli): added --version and --help options #282

Merged
merged 12 commits into from
Jan 22, 2023
Merged

Commits on Jan 21, 2023

  1. feat(cli): added --version and --help options

    added --version (-V) and --help (-h) options to the CLI for user interface.
    aarondill committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    abc4ca0 View commit details
    Browse the repository at this point in the history
  2. fix(cli): updated the version option

    Fixed a major bug with the version option in order to work from any directory
    aarondill committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    582095f View commit details
    Browse the repository at this point in the history
  3. fix(cli): delay path import until needed

    Uses dynamic import to import the node:path module when checking the
    version so it is not loaded when it is not needed.
    aarondill committed Jan 21, 2023
    Configuration menu
    Copy the full SHA
    1ba0967 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c59a9e5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb20b83 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dd747f5 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2023

  1. refactor(cli): removes fileURLToPath call

    removes not needed call to fileURLToPath, replacing with the URL object itself
    aarondill committed Jan 22, 2023
    Configuration menu
    Copy the full SHA
    a365d4f View commit details
    Browse the repository at this point in the history
  2. refactor(cli): removed try-catch block

    Removed try-catch block in --version which provided a default response
    if the file system requests failed.
    aarondill committed Jan 22, 2023
    Configuration menu
    Copy the full SHA
    54bfeeb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e52ce4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ab3ff1 View commit details
    Browse the repository at this point in the history
  5. Update cli.js

    Co-authored-by: fisker Cheung <lionkay@gmail.com>
    aarondill and fisker committed Jan 22, 2023
    Configuration menu
    Copy the full SHA
    35c89d9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6569a44 View commit details
    Browse the repository at this point in the history