Skip to content

Commit fcc2f9c

Browse files
committed
autogen(docs): generate cli docs
1 parent 29ccf49 commit fcc2f9c

20 files changed

+97
-119
lines changed

docs/keto/cli/keto-check.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto check
1413

1514
Check whether a subject has a relation on an object
1615

1716
### Synopsis
1817

19-
Check whether a subject has a relation on an object. This method resolves
20-
subject sets and subject set rewrites.
18+
Check whether a subject has a relation on an object. This method resolves subject sets and subject set rewrites.
2119

2220
```
2321
keto check <subject> <relation> <namespace> <object> [flags]
@@ -42,4 +40,5 @@ keto check <subject> <relation> <namespace> <object> [fl
4240

4341
### SEE ALSO
4442

45-
- [keto](keto) - Global and consistent permission and authorization server
43+
* [keto](keto) - Global and consistent permission and authorization server
44+

docs/keto/cli/keto-expand.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto expand
1413

1514
Expand a subject set
@@ -41,4 +40,5 @@ keto expand <relation> <namespace> <object> [flags]
4140

4241
### SEE ALSO
4342

44-
- [keto](keto) - Global and consistent permission and authorization server
43+
* [keto](keto) - Global and consistent permission and authorization server
44+

docs/keto/cli/keto-migrate-down.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto migrate down
1413

1514
Migrate the database down
1615

1716
### Synopsis
1817

19-
Migrate the database down a specific amount of steps. Pass 0 steps to fully
20-
migrate down.
18+
Migrate the database down a specific amount of steps.
19+
Pass 0 steps to fully migrate down.
2120

2221
```
2322
keto migrate down <steps> [flags]
@@ -40,4 +39,5 @@ keto migrate down <steps> [flags]
4039

4140
### SEE ALSO
4241

43-
- [keto migrate](keto-migrate) - Commands to migrate the database
42+
* [keto migrate](keto-migrate) - Commands to migrate the database
43+

docs/keto/cli/keto-migrate-status.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto migrate status
1413

1514
Get the current migration status
1615

1716
### Synopsis
1817

19-
Get the current migration status. This does not affect namespaces. Use
20-
`keto namespace migrate status` for migrating namespaces.
18+
Get the current migration status.
19+
This does not affect namespaces. Use `keto namespace migrate status` for migrating namespaces.
2120

2221
```
2322
keto migrate status [flags]
@@ -39,4 +38,5 @@ keto migrate status [flags]
3938

4039
### SEE ALSO
4140

42-
- [keto migrate](keto-migrate) - Commands to migrate the database
41+
* [keto migrate](keto-migrate) - Commands to migrate the database
42+

docs/keto/cli/keto-migrate-up.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,22 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto migrate up
1413

1514
Migrate the database up
1615

1716
### Synopsis
1817

19-
Run this command on a fresh SQL installation and when you upgrade Ory Keto from
20-
version v0.7.x and later.
18+
Run this command on a fresh SQL installation and when you upgrade Ory Keto from version v0.7.x and later.
2119

22-
It is recommended to run this command close to the SQL instance (e.g. same
23-
subnet) instead of over the public internet. This decreases risk of failure and
24-
decreases time required.
20+
It is recommended to run this command close to the SQL instance (e.g. same subnet) instead of over the public internet.
21+
This decreases risk of failure and decreases time required.
2522

26-
### WARNING
23+
### WARNING ###
2724

2825
Before running this command on an existing database, create a back up!
2926

27+
3028
```
3129
keto migrate up [flags]
3230
```
@@ -48,4 +46,5 @@ keto migrate up [flags]
4846

4947
### SEE ALSO
5048

51-
- [keto migrate](keto-migrate) - Commands to migrate the database
49+
* [keto migrate](keto-migrate) - Commands to migrate the database
50+

docs/keto/cli/keto-migrate.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto migrate
1413

1514
Commands to migrate the database
1615

1716
### Synopsis
1817

19-
Commands to migrate the database. This does not affect namespaces. Use
20-
`keto namespace migrate` for migrating namespaces.
18+
Commands to migrate the database.
19+
This does not affect namespaces. Use `keto namespace migrate` for migrating namespaces.
2120

2221
### Options
2322

@@ -33,7 +32,8 @@ Commands to migrate the database. This does not affect namespaces. Use
3332

3433
### SEE ALSO
3534

36-
- [keto](keto) - Global and consistent permission and authorization server
37-
- [keto migrate down](keto-migrate-down) - Migrate the database down
38-
- [keto migrate status](keto-migrate-status) - Get the current migration status
39-
- [keto migrate up](keto-migrate-up) - Migrate the database up
35+
* [keto](keto) - Global and consistent permission and authorization server
36+
* [keto migrate down](keto-migrate-down) - Migrate the database down
37+
* [keto migrate status](keto-migrate-status) - Get the current migration status
38+
* [keto migrate up](keto-migrate-up) - Migrate the database up
39+

docs/keto/cli/keto-namespace-migrate-legacy.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
---
22
id: keto-namespace-migrate-legacy
33
title: keto namespace migrate legacy
4-
description:
5-
keto namespace migrate legacy Migrate a namespace from v0.6.x to v0.7.x and
6-
later.
4+
description: keto namespace migrate legacy Migrate a namespace from v0.6.x to v0.7.x and later.
75
---
86

97
<!--
108
This file is auto-generated.
119
1210
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1311
-->
14-
1512
## keto namespace migrate legacy
1613

1714
Migrate a namespace from v0.6.x to v0.7.x and later.
1815

1916
### Synopsis
2017

21-
Migrate a legacy namespaces from v0.6.x to the v0.7.x and later. This step only
22-
has to be executed once. If no namespace is specified, all legacy namespaces
23-
will be migrated. Please ensure that namespace IDs did not change in the config
24-
file and you have a backup in case something goes wrong!
18+
Migrate a legacy namespaces from v0.6.x to the v0.7.x and later.
19+
This step only has to be executed once.
20+
If no namespace is specified, all legacy namespaces will be migrated.
21+
Please ensure that namespace IDs did not change in the config file and you have a backup in case something goes wrong!
2522

2623
```
2724
keto namespace migrate legacy [&lt;namespace-name&gt;] [flags]
@@ -47,4 +44,5 @@ keto namespace migrate legacy [&lt;namespace-name&gt;] [flags]
4744

4845
### SEE ALSO
4946

50-
- [keto namespace migrate](keto-namespace-migrate) - Migrate a namespace
47+
* [keto namespace migrate](keto-namespace-migrate) - Migrate a namespace
48+

docs/keto/cli/keto-namespace-migrate.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto namespace migrate
1413

1514
Migrate a namespace
@@ -28,6 +27,6 @@ Migrate a namespace
2827

2928
### SEE ALSO
3029

31-
- [keto namespace](keto-namespace) - Read and manipulate namespaces
32-
- [keto namespace migrate legacy](keto-namespace-migrate-legacy) - Migrate a
33-
namespace from v0.6.x to v0.7.x and later.
30+
* [keto namespace](keto-namespace) - Read and manipulate namespaces
31+
* [keto namespace migrate legacy](keto-namespace-migrate-legacy) - Migrate a namespace from v0.6.x to v0.7.x and later.
32+

docs/keto/cli/keto-namespace-validate.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto namespace validate
1413

1514
Validate namespace definitions
1615

1716
### Synopsis
1817

19-
validate Validates namespace definitions. Parses namespace yaml files or
20-
configuration files passed via the configuration flag. Returns human readable
21-
errors. Useful for debugging.
18+
validate
19+
Validates namespace definitions. Parses namespace yaml files or configuration
20+
files passed via the configuration flag. Returns human readable errors. Useful for
21+
debugging.
2222

2323
```
2424
keto namespace validate &lt;namespace.yml&gt; [&lt;namespace2.yml&gt; ...] | validate -c &lt;config.yaml&gt; [flags]
@@ -38,4 +38,5 @@ keto namespace validate &lt;namespace.yml&gt; [&lt;namespace2.yml&gt; ...] | val
3838

3939
### SEE ALSO
4040

41-
- [keto namespace](keto-namespace) - Read and manipulate namespaces
41+
* [keto namespace](keto-namespace) - Read and manipulate namespaces
42+

docs/keto/cli/keto-namespace.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ This file is auto-generated.
99
1010
To improve this file please make your change against the appropriate "./cmd/*.go" file.
1111
-->
12-
1312
## keto namespace
1413

1514
Read and manipulate namespaces
@@ -28,7 +27,7 @@ Read and manipulate namespaces
2827

2928
### SEE ALSO
3029

31-
- [keto](keto) - Global and consistent permission and authorization server
32-
- [keto namespace migrate](keto-namespace-migrate) - Migrate a namespace
33-
- [keto namespace validate](keto-namespace-validate) - Validate namespace
34-
definitions
30+
* [keto](keto) - Global and consistent permission and authorization server
31+
* [keto namespace migrate](keto-namespace-migrate) - Migrate a namespace
32+
* [keto namespace validate](keto-namespace-validate) - Validate namespace definitions
33+

0 commit comments

Comments
 (0)