Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ CRUD operations for Car records.
| \`isElectric\` | Boolean |
| \`createdAt\` | Datetime |

**Create fields:** \`make\`, \`model\`, \`year\`, \`isElectric\`
**Required create fields:** \`make\`, \`model\`, \`year\`, \`isElectric\`

### \`driver\`

Expand All @@ -317,7 +317,7 @@ CRUD operations for Driver records.
| \`name\` | String |
| \`licenseNumber\` | String |

**Create fields:** \`name\`, \`licenseNumber\`
**Required create fields:** \`name\`, \`licenseNumber\`

## Custom Operations

Expand All @@ -337,8 +337,8 @@ Authenticate a user

| Argument | Type |
|----------|------|
| \`email\` | String (required) |
| \`password\` | String (required) |
| \`--email\` | String (required) |
| \`--password\` | String (required) |

## Output

Expand All @@ -349,6 +349,14 @@ myapp car list | jq '.[]'
myapp car get --id <uuid> | jq '.'
\`\`\`

## Non-Interactive Mode

Use \`--no-tty\` to skip all interactive prompts (useful for scripts and CI):

\`\`\`bash
myapp --no-tty car create --name "Sedan" --year 2024
\`\`\`

---

Built by the [Constructive](https://constructive.io) team.
Expand Down Expand Up @@ -454,7 +462,7 @@ myapp car list
### Create a car

\`\`\`bash
myapp car create --make "value" --model "value" --year "value" --isElectric "value"
myapp car create --make <value> --model <value> --year <value> --isElectric <value>
\`\`\`

### Get a car by id
Expand Down Expand Up @@ -493,7 +501,7 @@ myapp driver list
### Create a driver

\`\`\`bash
myapp driver create --name "value" --licenseNumber "value"
myapp driver create --name <value> --licenseNumber <value>
\`\`\`

### Get a driver by id
Expand Down Expand Up @@ -576,6 +584,9 @@ myapp auth set-token <token>
myapp car list
myapp car get --id <value>
myapp car create --<field> <value>

# Non-interactive mode (skip all prompts, use flags only)
myapp --no-tty car list
\`\`\`

## Examples
Expand All @@ -589,6 +600,12 @@ myapp auth set-token <token>
myapp car list
\`\`\`

### Non-interactive mode (for scripts and CI)

\`\`\`bash
myapp --no-tty car create --<field> <value>
\`\`\`

## References

See the \`references/\` directory for detailed per-entity API documentation:
Expand Down Expand Up @@ -2895,7 +2912,7 @@ CRUD operations for User records.
| \`email\` | String |
| \`name\` | String |

**Create fields:** \`email\`, \`name\`
**Required create fields:** \`email\`, \`name\`

### \`auth:current-user\`

Expand All @@ -2913,8 +2930,8 @@ Authenticate a user

| Argument | Type |
|----------|------|
| \`email\` | String (required) |
| \`password\` | String (required) |
| \`--email\` | String (required) |
| \`--password\` | String (required) |
- **Flags:** \`--save-token\` auto-saves returned token to credentials

## members Commands
Expand All @@ -2938,7 +2955,7 @@ CRUD operations for Member records.
| \`id\` | UUID |
| \`role\` | String |

**Create fields:** \`role\`
**Required create fields:** \`role\`

## app Commands

Expand All @@ -2965,7 +2982,7 @@ CRUD operations for Car records.
| \`isElectric\` | Boolean |
| \`createdAt\` | Datetime |

**Create fields:** \`make\`, \`model\`, \`year\`, \`isElectric\`
**Required create fields:** \`make\`, \`model\`, \`year\`, \`isElectric\`

## Output

Expand All @@ -2976,6 +2993,14 @@ myapp auth:user list | jq '.[]'
myapp auth:user get --id <uuid> | jq '.'
\`\`\`

## Non-Interactive Mode

Use \`--no-tty\` to skip all interactive prompts (useful for scripts and CI):

\`\`\`bash
myapp --no-tty auth:user create --name "Example"
\`\`\`

---

Built by the [Constructive](https://constructive.io) team.
Expand Down Expand Up @@ -3127,7 +3152,7 @@ myapp auth:user list
### Create a user

\`\`\`bash
myapp auth:user create --email "value" --name "value"
myapp auth:user create --email <value> --name <value>
\`\`\`
",
"fileName": "cli-auth/references/user.md",
Expand Down Expand Up @@ -3198,6 +3223,9 @@ CLI commands for the auth API target — 1 tables and 2 custom operations via my
myapp auth:user list
myapp auth:user get --id <value>
myapp auth:user create --<field> <value>

# Non-interactive mode (skip all prompts, use flags only)
myapp --no-tty auth:user list
\`\`\`

## Examples
Expand All @@ -3208,6 +3236,12 @@ myapp auth:user create --<field> <value>
myapp auth:user list
\`\`\`

### Non-interactive mode (for scripts and CI)

\`\`\`bash
myapp --no-tty auth:user create --<field> <value>
\`\`\`

## References

See the \`references/\` directory for detailed per-entity API documentation:
Expand Down Expand Up @@ -3246,7 +3280,7 @@ myapp members:member list
### Create a member

\`\`\`bash
myapp members:member create --role "value"
myapp members:member create --role <value>
\`\`\`
",
"fileName": "cli-members/references/member.md",
Expand All @@ -3270,6 +3304,9 @@ CLI commands for the members API target — 1 tables and 0 custom operations via
myapp members:member list
myapp members:member get --id <value>
myapp members:member create --<field> <value>

# Non-interactive mode (skip all prompts, use flags only)
myapp --no-tty members:member list
\`\`\`

## Examples
Expand All @@ -3280,6 +3317,12 @@ myapp members:member create --<field> <value>
myapp members:member list
\`\`\`

### Non-interactive mode (for scripts and CI)

\`\`\`bash
myapp --no-tty members:member create --<field> <value>
\`\`\`

## References

See the \`references/\` directory for detailed per-entity API documentation:
Expand Down Expand Up @@ -3316,7 +3359,7 @@ myapp app:car list
### Create a car

\`\`\`bash
myapp app:car create --make "value" --model "value" --year "value" --isElectric "value"
myapp app:car create --make <value> --model <value> --year <value> --isElectric <value>
\`\`\`
",
"fileName": "cli-app/references/car.md",
Expand All @@ -3340,6 +3383,9 @@ CLI commands for the app API target — 1 tables and 0 custom operations via mya
myapp app:car list
myapp app:car get --id <value>
myapp app:car create --<field> <value>

# Non-interactive mode (skip all prompts, use flags only)
myapp --no-tty app:car list
\`\`\`

## Examples
Expand All @@ -3350,6 +3396,12 @@ myapp app:car create --<field> <value>
myapp app:car list
\`\`\`

### Non-interactive mode (for scripts and CI)

\`\`\`bash
myapp --no-tty app:car create --<field> <value>
\`\`\`

## References

See the \`references/\` directory for detailed per-entity API documentation:
Expand Down
Loading
Loading