Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shun159/mist-cli


https://github.com/shun159/mist-cli

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

Mist CLI
====

Mist CLI client

Example
===

### Create WXTag(Client MAC Address Based)
```shellsession
> $ target/debug/mist_client_register -e -p -o <2facode> add-wxtags
+--------------+----------------------------------------+
| operator | null |
+--------------+----------------------------------------+
| wxtag Id | "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
+--------------+----------------------------------------+
| Values | 000000000003 |
+--------------+----------------------------------------+
| wxtag Name | "Test4" |
+--------------+----------------------------------------+
| For site | true |
+--------------+----------------------------------------+
| Site Id | "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
+--------------+----------------------------------------+
| Org Id | "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
+--------------+----------------------------------------+
| Created At | 1606273947 |
+--------------+----------------------------------------+
| Modified At | 1606273947 |
+--------------+----------------------------------------+
| Type | "match" |
+--------------+----------------------------------------+
| Match | "client_mac" |
+--------------+----------------------------------------+
| Resource MAC | null |
+--------------+----------------------------------------+
| MAC | null |
+--------------+----------------------------------------+

```

### List WXTags
```shellsession
> $ target/debug/mist_client_register -e -p -o <2facode> list-wxtags
+--------------+----------------------------------------+
| WXTag #1 | |
+==============+========================================+
| operator | "in" |
+--------------+----------------------------------------+
| wxtag Id | "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
+--------------+----------------------------------------+
| Values | 000000000001 |
+--------------+----------------------------------------+
| wxtag Name | "Test" |
+--------------+----------------------------------------+
| For site | true |
+--------------+----------------------------------------+
| Site Id | "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
+--------------+----------------------------------------+
| Org Id | "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
+--------------+----------------------------------------+
| Created At | 1606224394 |
+--------------+----------------------------------------+
| Modified At | 1606224394 |
+--------------+----------------------------------------+
| Type | "match" |
+--------------+----------------------------------------+
| Match | "client_mac" |
+--------------+----------------------------------------+
| Resource MAC | null |
+--------------+----------------------------------------+
| MAC | null |
+--------------+----------------------------------------+
```