Usage
file convert pdf [options]
Description
Converts the specified local file to PDF using Microsoft Graph
Options
| Option |
Description |
-s, --sourceFile <sourceFile> |
Local path or full URL to the source file to be converted to PDF |
-t, --targetFile <targetFile> |
Local path or full URL to where the generated PDF file should be saved |
Additional Information
When CLI is authenticated on behalf of the current user, it will upload the file to convert to user's OneDrive for Business. When CLI is authenticated as app-only, it will upload the file to the Document library in the root SharePoint site. If targetFile is a local path, after the conversion is completed (no matter if it succeeded or not) the uploaded file is deleted. If a file with the same name already exists in the document library, this command will fail with an error.
Usage
file convert pdf [options]Description
Converts the specified local file to PDF using Microsoft Graph
Options
-s, --sourceFile <sourceFile>-t, --targetFile <targetFile>Additional Information
When CLI is authenticated on behalf of the current user, it will upload the file to convert to user's OneDrive for Business. When CLI is authenticated as app-only, it will upload the file to the Document library in the root SharePoint site. If
targetFileis a local path, after the conversion is completed (no matter if it succeeded or not) the uploaded file is deleted. If a file with the same name already exists in the document library, this command will fail with an error.