snyk-labs/snync

The usage command is invalid

Closed this issue · 0 comments

Expected Behavior

I can test my application with the given "usage" command.

Current Behavior

An error is thrown by snync when run without --directory.

Possible Solution

Change the documentation from

npx snync /home/user/my-app

to

 npx snync --directory /home/user/my-app

Steps to Reproduce (for bugs)

  1. Navigate to the folder of a NPM project
  2. Install snync as provided in the README.md
  3. Execute npx snync /home/user/my-app

Context

I tried to test this package to see how it works.

Your Environment

  • Library Version used: 1.3.3
  • Node.js version (e.g. Node.js 5.4): 16.15.1
  • Operating System and version (desktop or mobile): macOS 12.4