Estimated Reading Time: 1 minutes|Last Updated: 11/3/2021, 10:50:40 AM

# List Application

# usage

Usage: oredge app list [OPTIONS]

OPTIONS:
    --type string                      http(default) or stream.
    --page integer                     1(default).
    --page-size integer                20(default).

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. list http applications.
# oredge app list
ID    TYPE    DOMAINS         PARTITIONS    LABEL    MODIFY TIME            CREATE TIME        
21    http    www.test.com    1                      2021-05-20 03:40:48    2021-05-20 03:40:48
20    http    test.com        1                      2021-05-18 22:20:07    2021-05-18 22:20:07
  1. list stream applications.
# oredge app list --type stream
ID    TYPE    DOMAINS         PARTITIONS    LABEL    MODIFY TIME            CREATE TIME        
1     tls     www.test.com    1                      2021-05-20 03:43:31    2021-05-20 03:43:31
  1. limit page size and specify page number.
# bin/oredge app list --page-size 10 --page 1
ID    TYPE    DOMAINS         PARTITIONS    LABEL       MODIFY TIME            CREATE TIME        
23    http    ttt.com         1             a           2021-05-20 05:22:44    2021-05-20 05:22:44
22    http    www.test.com    1             for test    2021-05-20 05:05:39    2021-05-20 05:05:39
20    http    test.com        1                         2021-05-18 22:20:07    2021-05-18 22:20:07