diff options
| author | Shulhan <ms@kilabit.info> | 2024-08-04 22:12:45 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-08-04 22:12:45 +0700 |
| commit | 58dcf810c8187df5a8558eef31fd4f4530748adf (patch) | |
| tree | cda24ace6cb033a01d2b511889e28e3f9c633e9b /cmd | |
| parent | 0131b59a20137a837a79d9f30346e0654a1ed01f (diff) | |
| download | ciigo-58dcf810c8187df5a8558eef31fd4f4530748adf.tar.xz | |
all: update the CLI usage in the README
There are three places for command usage: one in main Go doc, one in the
program usage, and one in README.
If we changes the flags we need to update three of them, and sometimes
we forgot.
To simplify, we remove the one in the Go doc main program.
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/ciigo/main.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cmd/ciigo/main.go b/cmd/ciigo/main.go index 9b5184d..d4d4fc9 100644 --- a/cmd/ciigo/main.go +++ b/cmd/ciigo/main.go @@ -3,29 +3,6 @@ // ciigo is a CLI to convert, embed, and/or serve a directory that contains // markup files, as HTML files. -// -// # Usage -// -// The following section describe how to use ciigo CLI. -// -// ciigo [-template <file>] [-exclude <regex>] convert <dir> -// -// Scan the "dir" recursively to find markup files and convert them into HTML -// files. -// The template "file" is optional, default to embedded HTML template. -// -// ciigo [-template <file>] [-exclude <regex>] [-out <file>] embed <dir> -// -// Convert all the markup files inside directory "dir" recursively and then -// embed them into ".go" source file. -// The output file is optional, default to "ciigo_static.go" in current -// directory. -// -// ciigo [-template <file>] [-exclude <regex>] [-address <ip:port>] serve <dir> -// -// Serve all files inside directory "dir" using HTTP server, watch changes on -// markup files and convert them to HTML files. -// If the address is not set, its default to ":8080". package main import ( |
