Skip to content

Commit

Permalink
Merge pull request #26 from AthennaIO/develop
Browse files Browse the repository at this point in the history
docs(types): update types
  • Loading branch information
jlenon7 authored Jul 5, 2022
2 parents b55ab4e + 502df38 commit f88ad63
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/artisan",
"version": "1.2.5",
"version": "1.2.6",
"description": "The Athenna CLI application. Built on top of commander.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down
23 changes: 15 additions & 8 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { File } from '@secjs/utils'
import { File, Folder } from '@secjs/utils'
import { Facade } from '@athenna/ioc'

import { Command as Commander } from 'commander'
Expand Down Expand Up @@ -151,21 +151,28 @@ export class ConsoleKernel {

export class ArtisanLoader {
/**
* Return all commands from artisan http application.
* Return all commands from artisan console application.
*
* @return {any[]}
*/
static loadHttp(): any[]
static loadCommands(): any[]
}

export class TemplateHelper {
/**
* Return all commands from artisan console application.
* Set the templates' folder.
*
* @return {any[]}
* @param {Folder} folder
*/
static loadConsole(): any[]
}
static setTemplatesFolder(folder: Folder): void

/**
* Set the templates' folder same as the original.
*
* @param {Folder} folder
*/
static setOriginalTemplatesFolder(folder: Folder)

export class TemplateHelper {
/**
* Normalize the resource name removing duplicated.
*
Expand Down

0 comments on commit f88ad63

Please sign in to comment.