Aller au contenu

Afficher l'aide

Chaque commande et sous-commande intègre une aide qui documente ses options etc.

Aide globale

1
.\Isogeo_ScanOffline.exe --help

Exemple de résultat :

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Usage: scan-offline [OPTIONS] COMMAND [ARGS]...

  Main command checking settings and executing required operations.

Options:
  -l, --label TEXT      Custom the name of the task (it'll be used to name the log file)  [default: isogeo_scan_offline]

  -s, --settings PATH   Environment file containing settings  [default: .env]
  -d, --directory PATH  Parent folder where to start listing  [default: d:\apps\Isogeo\Scan\scan-offline\]

  -f, --formats TEXT    Formats of datasets to handle during Scan. Examples: 'shp,esri_filegdb' or 'shp'.  [default: shp, esri_filegdb]

  --version             Show the version and exit.
  --help                Show this message and exit.

Commands:
  check     Perform checks about requirements: FME (licensing,...
  clean     Delete logs and output folders older than the frequency set in...
  listing   Launch the Scan LIST step, looking for geodata on the targeted...
  lookup    Launch the Scan LOOKUP step on registered geodata in the local...
  postsync  Sync local metadata with the Isogeo online database.
  sign      Launch the Scan SIGN step on registered geodata in the local...
  upgrade   Check if a newer version of the cli is available.

Aide d'une sous-commande

Noter qu'il n'est alors pas nécessaire de passer les options.

1
.\Isogeo_ScanOffline.exe clean --help

Exemple de résultat :

1
2
3
4
5
6
7
8
Usage: scan-offline clean [OPTIONS]

  Delete logs and output folders older than the frequency set in the
  configuration.

Options:
  -rm, --remove-empty-folders  Remove empty folders.  [default: True]
  --help                       Show this message and exit.

Démo commande help

cliquer sur l'image pour l'agrandir


Dernière mise à jour: 25 mai 2020