...

Text file src/github.com/urfave/cli/v2/testdata/expected-doc-full.md

Documentation: github.com/urfave/cli/v2/testdata

     1# NAME
     2
     3greet - Some app
     4
     5# SYNOPSIS
     6
     7greet
     8
     9```
    10[--another-flag|-b]
    11[--flag|--fl|-f]=[value]
    12[--socket|-s]=[value]
    13```
    14
    15# DESCRIPTION
    16
    17Description of the application.
    18
    19**Usage**:
    20
    21```
    22app [first_arg] [second_arg]
    23```
    24
    25# GLOBAL OPTIONS
    26
    27**--another-flag, -b**: another usage text
    28
    29**--flag, --fl, -f**="": 
    30
    31**--socket, -s**="": some 'usage' text (default: /some/path)
    32
    33
    34# COMMANDS
    35
    36## config, c
    37
    38another usage test
    39
    40**--another-flag, -b**: another usage text
    41
    42**--flag, --fl, -f**="": 
    43
    44### sub-config, s, ss
    45
    46another usage test
    47
    48**--sub-command-flag, -s**: some usage text
    49
    50**--sub-flag, --sub-fl, -s**="": 
    51
    52## info, i, in
    53
    54retrieve generic information
    55
    56## some-command
    57
    58
    59## usage, u
    60
    61standard usage text
    62
    63    Usage for the usage text
    64    - formatted:  Based on the specified ConfigMap and summon secrets.yml
    65    - list:       Inspect the environment for a specific process running on a Pod
    66    - for_effect: Compare 'namespace' environment with 'local'
    67    
    68    ```
    69    func() { ... }
    70    ```
    71    
    72    Should be a part of the same code block
    73
    74**--another-flag, -b**: another usage text
    75
    76**--flag, --fl, -f**="": 
    77
    78### sub-usage, su
    79
    80standard usage text
    81
    82>Single line of UsageText
    83
    84**--sub-command-flag, -s**: some usage text

View as plain text