expedition3gpp

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

expedition3gpp

Purpose

The purpose is to download the standardization documents developed by 3GPP.

It also caches HTML information to speed up document retrieval the second and subsequent times.

Build

In order to use this tool, you need to download the binary or compile the source code. If you want to use the binaries, download them from the release

$ cd expedition3gpp
$ make
$ docker compose up -d

Usage

Main
$ expedition3gpp
Download the 3GPP document

Usage:
  expedition3gpp [flags]
  expedition3gpp [command]

Available Commands:
  completion  generate the autocompletion script for the specified shell
  download    Download the 3GPP documentation.
  help        Help about any command
  init        Create the config file
  search      Search for 3GPP documentation.

Flags:
  -h, --help      help for expedition3gpp
  -v, --version   display version

Use "expedition3gpp [command] --help" for more information about a command.
init

This command does not need to be explicitly executed.

The default configuration will be created when the normal command is executed.

Execute this command if you want to change the parameters of the config.

$ expedition3gpp init -h
Create the config file

Usage:
  expedition3gpp init [flags]

Flags:
      --cache-enable               Enable or disable the cache
                                   true  -> enable
                                   false -> disable
                                    (default true)
      --cache-location string      Specify the location to save the cache.
                                   windows -> C:\Users\testuser
                                   linux   -> /home/testuser
                                    (default "HOMEDIR")
      --cache-retention-time int   Specify the validity period for saving the cache.
                                   [0...4294967295]
                                    (default 14400)
  -h, --help                       help for init
      --strage-location string     Specify the location to save the config.
                                   windows -> C:\Users\testuser
                                   linux   -> /home/testuser
                                    (default "HOMEDIR")

Use this command to get the version information of the document you want to download.

However, the download command will allow you to download even if you do not specify the version.

Search for 3GPP documentation.

Usage:
  expedition3gpp search [flags]

Flags:
  -n, --document-number string    3GPP Document Number
  -v, --document-version string   3GPP Document Version
  -h, --help                      help for search
  -c, --no-cache                  Not using cache
  -r, --release-number string     3GPP Releas
download

Download the document by specifying the document number and version.

Download the 3GPP documentation.

Usage:
  expedition3gpp download [flags]

Flags:
  -n, --document-number string    3GPP Document Number
  -v, --document-version string   3GPP Document Version
  -h, --help                      help for download
  -c, --no-cache                  Not using cache
  -o, --output-path string        Specify the output location of the file
  -r, --release-number string     3GPP Release

NOTE

If you are using this tool continuously, please allow at least 10 seconds between runs.

Please try not to overload the server.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd module
internal
pkg/config module
pkg/fileutil module

Jump to

Keyboard shortcuts

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