File: tools.retry.rst

package info (click to toggle)
python-trame 3.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 101,620 kB
  • sloc: python: 13,515; sh: 183; javascript: 93; makefile: 7
file content (15 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Update launcher retry array
==============================

This small utility let you run a command line to update an existing HTML file
with a new launcher-retry content.

In order to use that tool, you will need to provide the path of the base
application to use as template along with the content of the launcher-retry.
This tool will then update the HTML file provided.


.. code-block:: bash

    python -m trame.tools.retry --input ./www-content/index.html --retry "[3000, 2000, 1000]"
    # => Update ./www-content/index.html using data-launcher-retry="[3000, 2000, 1000]" instead of the default empty array.