<commit_before># Manuel
To generate this file, use `python3 scripts/get-manuel-doc.py > docs/manuel.md`

## dev
manuel dev PORTAL1 [PORTAL2 [PORTAL3] …]

Generate a development version of the targeted portals.



## dev-full
manuel dev-full PORTAL1 [PORTAL2 [PORTAL3] …]

Generate a development version of the targeted portals. It will also
triger a reindex for sphinx, test the map files of each portal and copy tomcat configuration.


## prod
manuel prod PORTAL1 [PORTAL2 [PORTAL3] …]

Generate a production version of the targeted portals. To generate even
with uncommitted changes or without changing branch, add the --force option as first parameter.

This task can be launch with portals from different infrastructures if --force is given.


## deploy
manuel deploy PORTAL1 [PORTAL2 [PORTAL3] …]

Generate a production version of the targeted portals and deploy it.


## help
manuel help TASK

Display the help for TASK.


## watch
manuel watch PORTAL

Watch and rebuild a portal on change. This is equivalent to 'manuel front watch PORTAL'


## launch-tests
manuel launch-tests

Launch the unit tests against the development code. This is equivalent to 'manuel front test'


## lint-code
manuel lint-code

Launch gslint on the javascript code. This is equivalent to 'manuel front lint'


## generate-tests-conf
manuel generate-tests-conf

Generate the configuration for units tests (dev and prod). This is equivalent to:
'manuel front build-test-conf'


## config
manuel config [TYPE] PORTAL

Print the configuration for the given type and portal. It will also print the config files that
are parsed in the order they are parsed. To only get the config, redirect error output to /dev/null.
To discard the config, redirect the standard output to /dev/null.

If you have jq installed, you can get any section from the JSON like that:
manuel config demo 2> /dev/null | jq '.mapserver'

**Default values**

- *type* dev


## front
manuel front TASK [PORTAL]

Execute TASK for the frontend. Use:
- 'manuel front list' to list available tasks
- 'manuel front help task' to get help for a given task


## lint<commit_msg>Update doc for manuel<commit_after># Manuel
To generate this file, use `python3 scripts/get-manuel-doc.py > docs/manuel.md`

## dev
manuel dev PORTAL1 [PORTAL2 [PORTAL3] …]

Generate a development version of the targeted portals.



## dev-full
manuel dev-full PORTAL1 [PORTAL2 [PORTAL3] …]

Generate a development version of the targeted portals. It will also
triger a reindex for sphinx, test the map files of each portal and copy tomcat configuration.


## prod
manuel prod PORTAL1 [PORTAL2 [PORTAL3] …]

Generate a production version of the targeted portals. To generate even
with uncommitted changes or without changing branch, add the --force option as first parameter.

This task can be launch with portals from different infrastructures if --force is given.


## deploy
manuel deploy PORTAL1 [PORTAL2 [PORTAL3] …]

Generate a production version of the targeted portals and deploy it.


## help
manuel help TASK

Display the help for TASK.


## watch
manuel watch PORTAL

Watch and rebuild a portal on change. This is equivalent to 'manuel front watch PORTAL'


## launch-tests
manuel launch-tests

Launch the unit tests against the development code. This is equivalent to 'manuel front test'


## lint-code
manuel lint-code

Launch gslint on the javascript code. This is equivalent to 'manuel front lint'


## generate-tests-conf
manuel generate-tests-conf

Generate the configuration for units tests (dev and prod). This is equivalent to:
'manuel front build-test-conf'. DEFAULT_PORTAL must be set.


## config
manuel config [TYPE] PORTAL

Print the configuration for the given type and portal. It will also print the config files that
are parsed in the order they are parsed. To only get the config, redirect error output to /dev/null.
To discard the config, redirect the standard output to /dev/null.

If you have jq installed, you can get any section from the JSON like that:
manuel config demo 2> /dev/null | jq '.mapserver'

**Default values**

- *type* dev


## front
manuel front TASK [PORTAL]

Execute TASK for the frontend. Use:
- 'manuel front list' to list available tasks
- 'manuel front help task' to get help for a given task


## lint
{'fraction_non_alphanumeric': 0.06450105164758121, 'fraction_numerical': 0.006543584949754616, 'mean_word_length': 4.107398568019093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4175239', 'n_tokens_mistral': 1213, 'n_tokens_neox': 1174, 'n_words': 626}