Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shun159/mist-cli
https://github.com/shun159/mist-cli
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/shun159/mist-cli
- Owner: shun159
- Created: 2020-11-24T13:58:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-25T03:16:59.000Z (about 4 years ago)
- Last Synced: 2024-12-20T11:32:37.428Z (11 days ago)
- Language: Rust
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 |
+--------------+----------------------------------------+
```