Using a Plug-In Library

Once you have created a plug-in library, you can interact with it using the command line interface (CLI). The following sections describe how to make changes to a plug-in library using CLI commands.

Note To access the command line interface, open a terminal and enter nipluginlib.

Adding a Service to a Plug-In Library

Complete the following steps to add a new service to a plug-in library.

Enter the following command: nipluginlib publish path --url
The following example shows how to use the publish command:
nipluginlib publish C:\services\ai\single_channel --exclude .venv/**/* --force -u http://pluginlib.mycompany.com:43100
Where:
  • --exclude specifies to not publish any files in .venv to the library.
  • --force instructs the server to over-write the existing service in the library.
  • -u specifies the server URL.
    Note Either -u or --url can be used to specify the library URL.

Removing Services from a Plug-In Library

Complete the following steps to remove a service from the plug-in library using the CLI.

Before removing a service from a library, you must know its ID. This information can be found by using the list command. See Listing Plug-In Library Contents.
Enter the following command: nipluginlib delete id --url.

Listing Plug-In Library Contents

Complete the following steps to view plug-in library contents via the CLI.

Enter the following command: nipluginlib list --url