Chapter 27. Export and Import

  1. Home
  2. Docs
  3. Chapter 27. Export and Import
  4. 5. Command-line Interface
  5. Using Project Publisher with command

Using Project Publisher with command

Download PDF

To publish project through command line:

  1. Browse the scripts folder under the Visual Paradigm installation directory. For Mac users, you can find the scripts folder in the Visual Paradigm package by right clicking on it and then selecting Show Package Contents. Then look in Contents\Resources\app\scripts for the scripts folder.
  2. Start the command prompt.
  3. Execute the script by supplying the required parameters. For example:
    ProjectPublisher -project C:\Demo\Demo.vpp -out C:\Demo\Output

    Parameter Description Example
    -project Project path C:\Demo\Demo.vpp
    -server
    [optional]
    Specify the server access type, if you want to generate the files to VP Server:

    • members – Project members only
    • viewers – All members + Viewers in the server
    • everyone – Everyone

    Note: Either -server or -out has to be specified

    members
    -out Specify the output folder path, if you want to generate the files to a folder.

    Note: Either -server or -out has to be specified

    C:\Demo\Output
    -nickname
    [optional]
    By default, Project Publisher produces content for the active nickname. You can make it published a specific nickname by specifying the nickname parameter. Spanish