Use the command line interface
Once installed, you can use the nanopub
library through the np
command line interface to sign and publish Nanopublication.
đ¤ Check the current user profile
âī¸ Set your user profile
See the setup instructions page for more details about setting up your profile.
âī¸ Sign nanopubs
Sign a nanopublication from a file, this will generate the signed nanopub in a new file signed.nanopub.trig
alongside the original:
đŦī¸ Publish nanopubs
Publish a nanopublication from a signed file:
Or directly publish a nanopublication from an unsigned file:
You can also publish to the test server:
âī¸ Check signed nanopubs
Check if a signed nanopublication is valid:
âšī¸ Get help
Display the help for the different commands with the --help
flag.