coost is a cookie storage module for reading, writing and importing cookie jars.
Importing cookies from an existing browser session
To import browser session cookies (instructions for Google Chrome, should work for any browser):
Launch a browser, then open Developer Tools:
a. Select "Customize and control Google Chrome" menu item, visually represented as three
vertical dots;
b. Select "More Tools" menu item, then "Developer Tools";
c. Select "Network" tab in the Developer Tools.
Navigate to the desired website (e.g. example.com);
Select that navigation request in the Network tab of Developer Tools;
Select "Headers" tab in the request preview section;
Navigate to the Request Headers section (not Response Headers!);
Find cookie: header and Copy value for that header (or select the value and copy);
In application that uses coost - run import-cookies command with a cookie header value: import-cookies "key1=value1; key2=value2;"