cli-tool

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 9 Imported by: 0

README

dp-sitemap-cli

This holds all information related to using sitemap-cli tool

Pre-Requisite

Set the opensearch signer value using "export OPENSEARCH_SIGNER=true" when running on the sandbox/prod.

Global Flags

  --api-url string                    elastic search api url (default "http://localhost")
  --fake-scroll                       enable fake scroll (default true)
  --robots-file-path string           path to robots file that will be generated (default "test_robots.txt")
  --robots-file-path-reader string    path to robots files that we are reading from (default "./assets/robot/")
  --scroll-size int                   OPENSEARCH_SCROLL_SIZE (default 10)
  --scroll-timeout string             OPENSEARCH_SCROLL_TIMEOUT (default "2000")
  --sitemap-file-path string          path to sitemap file (default "test_sitemap")
  --sitemap-file-path-reader string   path to sitemap files that we are reading from (default "./sitemap/static/")
  --sitemap-index string              OPENSEARCH_SITEMAP_INDEX (default "1")
  --zebedee-url string                zebedee url (default "http://localhost:8082")

Build Commands

To build for Remote envirionment (Sandbox/Prod..etc):

      make build-cli-remote

This will create a Linux build

To build for Local envirionment :

      make build-cli

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL