Using a Plug-In Library
- Updated2024-10-16
- 1 minute(s) read
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
nipluginlib publish C:\services\ai\single_channel --exclude .venv/**/* --force -u http://pluginlib.mycompany.com:43100Where:
- --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.
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