Initial commit
This commit is contained in:
20
docs/Commands/m4g_api/m4g_api_generate/index.md
Normal file
20
docs/Commands/m4g_api/m4g_api_generate/index.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# m4g api generate
|
||||
|
||||
```
|
||||
Description:
|
||||
Generate an API item
|
||||
|
||||
Usage:
|
||||
m4g api generate [command] [options]
|
||||
|
||||
Options:
|
||||
-?, -h, --help Show help and usage information
|
||||
|
||||
Commands:
|
||||
r, router <name> Generate an api router
|
||||
crud <entity> Generated CRUD functionality for an entity
|
||||
```
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# m4g api generate crud
|
||||
|
||||
```
|
||||
Description:
|
||||
Generated CRUD functionality for an entity
|
||||
|
||||
Usage:
|
||||
m4g api generate crud <entity> [options]
|
||||
|
||||
Arguments:
|
||||
<entity> The entity to target
|
||||
|
||||
Options:
|
||||
-?, -h, --help Show help and usage information
|
||||
```
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# m4g api generate router
|
||||
|
||||
```
|
||||
Description:
|
||||
Generate an api router
|
||||
|
||||
Usage:
|
||||
m4g api generate router <name> [options]
|
||||
|
||||
Arguments:
|
||||
<name> The name of the api router
|
||||
|
||||
Options:
|
||||
-?, -h, --help Show help and usage information
|
||||
```
|
||||
Reference in New Issue
Block a user