Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/sitemap-cli
Generate sitemap with nodejs.
https://github.com/afeiship/sitemap-cli
cli seo sitemap smc
Last synced: 20 days ago
JSON representation
Generate sitemap with nodejs.
- Host: GitHub
- URL: https://github.com/afeiship/sitemap-cli
- Owner: afeiship
- Created: 2021-02-08T16:22:41.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T06:57:35.000Z (over 2 years ago)
- Last Synced: 2024-10-12T15:22:41.453Z (about 1 month ago)
- Topics: cli, seo, sitemap, smc
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## sitemap-cli
> Generate sitemap with nodejs.## installation
```shell
git clone [email protected]:afeiship/sitemap-cli.git
cd sitemap-cli
npm link
```## usage
```shell
# 1. first you should have a urls.txt
# 2. cd workdir
cd ~/workdir
# 3. use cli
smc urls.txt -l 45000
``````shell
$ smc -h
Generate sitemap with nodejs.USAGE
$ sitemap-cli [FILENAME]OPTIONS
-h, --help show CLI help
-l, --limit=limit The limit of single file sitemap size.
-v, --version show CLI version
--domain=domain (required) The domain of the sitemapindex.
```