Skip to content

Commit

Permalink
feat: add docs about changing test env
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Feb 23, 2024
1 parent 87cc7e8 commit a138a73
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 211 deletions.
6 changes: 3 additions & 3 deletions docs/cli-application/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1066,23 +1066,23 @@ Set the name of the file and also the name that will
be used used as reference to create the custom properties
to be used in the template:

```ts
```typescript
this.generator.fileName('UserRepository.ts')
```

#### `this.generator.destination()`

Set the destination where the file should be created:

```ts
```typescript
this.generator.destination(Path.repositories())
```

#### `this.generator.extension()`

Set the extension of your file:

```ts
```typescript
this.generator.extension('ts')
```

Expand Down
Loading

0 comments on commit a138a73

Please sign in to comment.