#11 Status subcommand for circologctl

Merged
boyska merged 5 commits from blallo/statusctl into boyska/master 5 år sedan
blallo kommenterad 5 år sedan

Introduced a status subcommand for circologctl. It offers a -format option with possible values:

  • plain (default); Example output:

    Buffer Length: 1000
    Server Status: unpaused
    
  • json; Example output:

    {"status":{"size":1000,"running":true}}
    
  • pretty; Example output:

    {
    "status": {
    "size": 1000,
    "running": true
    }
    }
    
Introduced a `status` subcommand for `circologctl`. It offers a `-format` option with possible values: - `plain` (default); Example output: ``` Buffer Length: 1000 Server Status: unpaused ``` - `json`; Example output: ``` {"status":{"size":1000,"running":true}} ``` - `pretty`; Example output: ``` { "status": { "size": 1000, "running": true } } ```
This pull request has been merged successfully!
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.