Skip to content

Commit

Permalink
Merge pull request #187 from AthennaIO/develop
Browse files Browse the repository at this point in the history
feat: add docs about changing test env
  • Loading branch information
jlenon7 authored Feb 23, 2024
2 parents 750b495 + a138a73 commit e268903
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 e268903

Please sign in to comment.