The process of authentication has to be done only once. After that you will be able to easily submit urls to decentus via command line.
In order to be authenticated with Domain Name and submit a URL you have to generate RSA key pair and specify location of your public RSA key by adding TXT DNS record to a domain that you own.
To make the process easier you can use decentus npm library for key generation. (nodejs v10.12 or later required)
This command will generate two files: id_rsa and id_rsa.pub.
Before you can start submitting links you have to upload id_rsa.pub to some public server and specify TXT record pointing to URL of your public key in your domain configuration panel. Here is the syntax how the TXT record should look like:
Keep in mind that DNS records take time to sync accross servers. After you finish setting up the DNS config you can start submitting URLs to decentus!
You can do this via command-line by using decentus command post-url and specifying your domain name, location of private key file and the URL you want to submit or upvote: