Skip to content

Commit ff490ea

Browse files
chore: update docs [skip ci]
1 parent bc9dd68 commit ff490ea

13 files changed

+68
-56
lines changed

docs/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ I have been astonished by the shadcn/ui CLI and the core principles of code dist
141141
- [x] **Scaffolding a registry** of reusable Xano components
142142
- [x] Exporting all available `xanoscript` from your instance via metadata API _*(important note: not all pieces of logic can be exported via metadata API, this especially is fragile on older and bigger instances)_.
143143
- [x] Adding components to Xano from a registry (only functions, tables, queries for now)
144-
- [ ] Automated test runner with assertion configuration
145-
- [ ] Linting with custom rulesets
144+
- [x] Automated test runner with assertion configuration
146145

147146
---
148147

docs/commands/export-backup.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ Backup Xano Workspace via Metadata API
2323

2424
Options:
2525
--instance <instance> The instance name. This is used to fetch the instance
26-
configuration. The value provided at the setup command.
27-
--workspace <workspace> The workspace name. This is used to fetch the workspace
28-
configuration. Same as on Xano interface.
26+
configuration. The value provided at the setup
27+
command.
28+
--workspace <workspace> The workspace name. This is used to fetch the
29+
workspace configuration. Same as on Xano interface.
2930
--branch <branch> The branch name. This is used to select the branch
3031
configuration. Same as on Xano Interface.
3132
--print-output-dir Expose usable output path for further reuse.

docs/commands/generate-code.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,27 @@ xano generate-code [options]
2929
```sh
3030
Usage: xano generate-code [options]
3131

32-
Create a library based on the OpenAPI specification. If the openapi specification has not
33-
yet been generated, this will generate that as well as the first step.
32+
Create a library based on the OpenAPI specification. If the openapi
33+
specification has not yet been generated, this will generate that as well as the
34+
first step.
3435

3536
Options:
3637
--instance <instance> The instance name. This is used to fetch the instance
37-
configuration. The value provided at the setup command.
38-
--workspace <workspace> The workspace name. This is used to fetch the workspace
39-
configuration. Same as on Xano interface.
38+
configuration. The value provided at the setup
39+
command.
40+
--workspace <workspace> The workspace name. This is used to fetch the
41+
workspace configuration. Same as on Xano interface.
4042
--branch <branch> The branch name. This is used to select the branch
4143
configuration. Same as on Xano Interface.
4244
--group <name> API group name. Same as on Xano Interface.
43-
--all Regenerate for all API groups in the workspace / branch of the
44-
current context.
45+
--all Regenerate for all API groups in the workspace /
46+
branch of the current context.
4547
--print-output-dir Expose usable output path for further reuse.
4648
--generator <generator> Generator to use, see all options at:
4749
https://openapi-generator.tech/docs/generators
4850
--args <args> Additional arguments to pass to the generator. See
4951
https://openapi-generator.tech/docs/usage#generate
50-
--debug Specify this flag in order to allow logging. Logs will appear in
51-
output/_logs. Default: false
52+
--debug Specify this flag in order to allow logging. Logs
53+
will appear in output/_logs. Default: false
5254
-h, --help display help for command
5355
```

docs/commands/generate-oas.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ Update and generate OpenAPI spec(s) for the current context.
2727

2828
Options:
2929
--instance <instance> The instance name. This is used to fetch the instance
30-
configuration. The value provided at the setup command.
31-
--workspace <workspace> The workspace name. This is used to fetch the workspace
32-
configuration. Same as on Xano interface.
30+
configuration. The value provided at the setup
31+
command.
32+
--workspace <workspace> The workspace name. This is used to fetch the
33+
workspace configuration. Same as on Xano interface.
3334
--branch <branch> The branch name. This is used to select the branch
3435
configuration. Same as on Xano Interface.
3536
--group <name> API group name. Same as on Xano Interface.
36-
--all Regenerate for all API groups in the workspace / branch of the
37-
current context.
37+
--all Regenerate for all API groups in the workspace /
38+
branch of the current context.
3839
--print-output-dir Expose usable output path for further reuse.
3940
-h, --help display help for command
4041
```

docs/commands/generate-repo.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ Options:
3131
--input <file> workspace yaml file
3232
--output <dir> output directory (overrides config)
3333
--instance <instance> The instance name. This is used to fetch the instance
34-
configuration. The value provided at the setup command.
35-
--workspace <workspace> The workspace name. This is used to fetch the workspace
36-
configuration. Same as on Xano interface.
34+
configuration. The value provided at the setup
35+
command.
36+
--workspace <workspace> The workspace name. This is used to fetch the
37+
workspace configuration. Same as on Xano interface.
3738
--branch <branch> The branch name. This is used to select the branch
3839
configuration. Same as on Xano Interface.
3940
--print-output-dir Expose usable output path for further reuse.
40-
--fetch Specify this if you want to fetch the workspace schema from Xano
41+
--fetch Specify this if you want to fetch the workspace
42+
schema from Xano
4143
-h, --help display help for command
4244
```

docs/commands/generate-xs-repo.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ Process Xano workspace into repo structure
2323

2424
Options:
2525
--instance <instance> The instance name. This is used to fetch the instance
26-
configuration. The value provided at the setup command.
27-
--workspace <workspace> The workspace name. This is used to fetch the workspace
28-
configuration. Same as on Xano interface.
26+
configuration. The value provided at the setup
27+
command.
28+
--workspace <workspace> The workspace name. This is used to fetch the
29+
workspace configuration. Same as on Xano interface.
2930
--branch <branch> The branch name. This is used to select the branch
3031
configuration. Same as on Xano Interface.
3132
--print-output-dir Expose usable output path for further reuse.

docs/commands/registry-add.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ Add a prebuilt component to the current Xano context.
2525

2626
Options:
2727
--instance <instance> The instance name. This is used to fetch the instance
28-
configuration. The value provided at the setup command.
29-
--workspace <workspace> The workspace name. This is used to fetch the workspace
30-
configuration. Same as on Xano interface.
28+
configuration. The value provided at the setup
29+
command.
30+
--workspace <workspace> The workspace name. This is used to fetch the
31+
workspace configuration. Same as on Xano interface.
3132
--branch <branch> The branch name. This is used to select the branch
3233
configuration. Same as on Xano Interface.
3334
--components Comma-separated list of components to add

docs/commands/registry-scaffold.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ xano registry-scaffold [options]
1515
```sh
1616
Usage: xano registry-scaffold [options]
1717

18-
Scaffold a Xano registry folder with a sample component. Xano registry can be used to share
19-
and reuse prebuilt components. In the registry you have to follow the
20-
[registry](https://nextcurve.hu/schemas/registry/registry.json) and [registry
21-
item](https://nextcurve.hu/schemas/registry/registry-item.json) schemas.
18+
Scaffold a Xano registry folder with a sample component. Xano registry can be
19+
used to share and reuse prebuilt components. In the registry you have to follow
20+
the [registry](https://nextcurve.hu/schemas/registry/registry.json) and
21+
[registry item](https://nextcurve.hu/schemas/registry/registry-item.json)
22+
schemas.
2223

2324
Options:
2425
--output <path> Output path for the registry

docs/commands/restore-backup.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ Restore a backup to a Xano Workspace via Metadata API
2323

2424
Options:
2525
--instance <instance> The instance name. This is used to fetch the instance
26-
configuration. The value provided at the setup command.
27-
--workspace <workspace> The workspace name. This is used to fetch the workspace
28-
configuration. Same as on Xano interface.
26+
configuration. The value provided at the setup
27+
command.
28+
--workspace <workspace> The workspace name. This is used to fetch the
29+
workspace configuration. Same as on Xano interface.
2930
--source-backup <file> Path to the backup file to restore
3031
--force Force restoration without confirmation
3132
-h, --help display help for command

docs/commands/run-test.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,16 @@ Usage: xano run-test [options]
2828
Run an API test suite via the OpenAPI spec. WIP...
2929

3030
Options:
31-
--instance <instance> The instance name. This is used to fetch the instance
32-
configuration. The value provided at the setup command.
33-
--workspace <workspace> The workspace name. This is used to fetch the workspace
34-
configuration. Same as on Xano interface.
31+
--instance <instance> The instance name. This is used to fetch the
32+
instance configuration. The value provided at the
33+
setup command.
34+
--workspace <workspace> The workspace name. This is used to fetch the
35+
workspace configuration. Same as on Xano interface.
3536
--branch <branch> The branch name. This is used to select the branch
3637
configuration. Same as on Xano Interface.
3738
--group <name> API group name. Same as on Xano Interface.
38-
--all Regenerate for all API groups in the workspace / branch of the
39-
current context.
39+
--all Regenerate for all API groups in the workspace /
40+
branch of the current context.
4041
--print-output-dir Expose usable output path for further reuse.
4142
--test-config-path <path> Path to a test configuration file.
4243
-h, --help display help for command

0 commit comments

Comments
 (0)