highmark-cli 0.0.96 → 0.0.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,14 +7,28 @@ function helpAction() {
7
7
 
8
8
  Commands:
9
9
 
10
- [help] Show this help
10
+ help Show this help
11
11
 
12
+ version Show the version
13
+
14
+ [publish] Publish the input Markdown file to the output HTML file.
15
+
12
16
  Options:
13
17
 
14
18
  --help|-h Show this help
15
19
 
16
20
  --version|-v Show the version
17
21
 
22
+ --port|-p The server port. The default is 8888.
23
+
24
+ --server|-s Start a server to view the output file
25
+
26
+ --copy-fonts|-f Copy the fonts to a fonts folder next to the output file
27
+
28
+ --input-file-path|-i The input file path. The default is 'default.md'.
29
+
30
+ --output-file-path|-o The output file path. The default is 'index.html'.
31
+
18
32
  Further information:
19
33
 
20
34
  Please see the readme file on GitHub:
package/bin/main.js CHANGED
@@ -45,8 +45,6 @@ function main(command, argument, options) {
45
45
  case PUBLISH_COMMAND: publishAction(port, server, copyFonts, inputFilePath, outputFilePath); break;
46
46
 
47
47
  default :
48
- argument = command; ///
49
-
50
48
  publishAction(port, server, copyFonts, inputFilePath, outputFilePath);
51
49
 
52
50
  break;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "highmark-cli",
3
3
  "author": "James Smith",
4
- "version": "0.0.96",
4
+ "version": "0.0.97",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/highmark-cli",
7
7
  "description": "Extensible, styleable Markdown.",