diff --git a/README.md b/README.md index 0d571b7..cd91a0a 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,6 @@ gmi-web --body --css custom.css < doc.gmi gmi-web auto-detects the need for the `` color-schemes and allows for using `--inline` to insert the declarations as `style` properties on their respective blocks. Variables defined in `:root` will be picked up and made available for configuration just like gmi-web.css. - ``` gmi-web [files..] diff --git a/cli.js b/cli.js index f70d0b5..d4e2a41 100755 --- a/cli.js +++ b/cli.js @@ -83,12 +83,15 @@ const cli = yargs(process.argv.slice(2)) const CSS_VARS = CSS.rootVariables(CSS.load({ css: "gmi-web.css" })); Object.keys(CSS_VARS).forEach((key) => { - const opt = key.replace("--", "") + const opt = key.replace("--", ""); cli.option(opt, { default: CSS_VARS[key] }); cli.conflicts(opt, "core"); cli.conflicts(opt, "none"); }); -cli.group(Object.keys(CSS_VARS).map(key => key.replace("--", "")), "CSS:"); +cli.group( + Object.keys(CSS_VARS).map((key) => key.replace("--", "")), + "CSS:" +); const argv = cli .conflicts("author", "body") diff --git a/package.json b/package.json index 4066550..c7b4659 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gmi-web-cli", - "version": "1.0.1-rc.3", + "version": "1.0.2-rc.3", "description": "A bridge between HTML and Gemini", "main": "html.js", "type": "module", @@ -15,7 +15,7 @@ "README.md", "CONTRIBUTING.md", "gmi-web.1", - "core.css", + "gmi-web.css", "gmi.css", "html.js", "css.js",