@tricoteuses/senat 2.18.13 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,11 +6,10 @@ import path from "path";
|
|
|
6
6
|
import { DATA_ORIGINAL_FOLDER, DATA_TRANSFORMED_FOLDER, iterLoadSenatDossiersLegislatifsRapportUrls, iterLoadSenatDossiersLegislatifsTexteUrls, RAPPORT_FOLDER, TEXTE_FOLDER, } from "../loaders";
|
|
7
7
|
import { parseExposeDesMotifs, parseTexte, parseTexteFromFile } from "../model/texte";
|
|
8
8
|
import { getSessionsFromStart, UNDEFINED_SESSION } from "../types/sessions";
|
|
9
|
-
import { commonOptions
|
|
9
|
+
import { commonOptions } from "./shared/cli_helpers";
|
|
10
10
|
import { ensureAndClearDir, fetchWithRetry, isOptionEmptyOrHasValue } from "./shared/util";
|
|
11
11
|
const optionsDefinitions = [
|
|
12
12
|
...commonOptions,
|
|
13
|
-
onlyRecentOption,
|
|
14
13
|
{
|
|
15
14
|
help: "parse and convert documents into JSON (textes only for now, requires format xml)",
|
|
16
15
|
name: "parseDocuments",
|