ForceCLI/force

`force push` documentation is incorrect

Closed this issue · 1 comments

The documentation says that either a directory or the metadata type can be used but neither do.

$ force help push
Deploy artifact from a local directory
<metadata>: Accepts either actual directory name or Metadata type

Examples:
  force push -t ApexClass

$ force push classes/
Validating and deploying push...
read /Users/b/salesforce/classes: is a directory
ERROR: Could not add the following files:
 {}
%!(EXTRA string=classes/)

$ force push -t ApexClass
Validating and deploying push...
ERROR: No folders that contain ApexClass metadata could be found.

Metadata should be in a src subdirectory (metadata is also supported), e.g. /Users/b/salesforce/src/classes.