With yarn
$ yarn global add sharifypage
With npm
$ npm i -g sharifypage
Add meta tags for social media (default)
$ sharifypage --file=[path to HTML file]
Use a configuration file (will override duplicated flags) (full specifications can be found in the example folder)
$ sharifypage -c [path to configuration file] --file=[path to HTML file]
Specify output directory (default to ./out)
$ sharifypage -o [path of output directory] --file=[path to HTML file]
Specify Google Analytics Tracking ID
$ sharifypage -g [your tracking ID] --file=[path to HTML file]
Specify document language code
$ sharifypage -l en-GB -f [path to HTML file]
// <html lang="en-GB">
Add a thumbnail
$ sharifypage -t [path to thumbnail photo] -f [path to HTML file]