Added docs folder at the project root. Added build_docs and publish_d… (#105)

Docs sub-directory added to the project.
This commit is contained in:
Kelvin Mwinuka
2024-09-11 01:32:58 +08:00
committed by GitHub
parent 7feae0cc52
commit 206a9fe4e6
170 changed files with 27320 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# ACL LIST
### Syntax
```
ACL LIST
```
### Module
<span className="acl-category">acl</span>
### Categories
<span className="acl-category">admin</span>
<span className="acl-category">dangerous</span>
<span className="acl-category">slow</span>
### Description
Dumps effective acl rules in ACL DSL format.
### Examples
<Tabs
defaultValue="go"
values={[
{ label: 'Go (Embedded)', value: 'go', },
{ label: 'CLI', value: 'cli', },
]}
>
<TabItem value="go">
List ACL rules:
```go
vault, err := echovault.NewEchoVault()
if err != nil {
log.Fatal(err)
}
rules, err := vault.ACLList()
```
</TabItem>
<TabItem value="cli">
List ACL rules:
```
> ACL LIST
```
</TabItem>
</Tabs>