UNPKG
@auttam/easycli
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A quick and easy way of creating cli for your npm package.
github.com/auttam/easycli
auttam/easycli
@auttam/easycli
/
lib
/
decorators
/
command-decorator.d.ts
3 lines
(2 loc)
•
224 B
TypeScript
View Raw
1
2
3
import
{
ICommandDefinition
}
from
'./types'
;
export
declare
function
commandDecoratorFactory
(
commandDefinition
?:
ICommandDefinition
):
(
target
:
any
,
propertyName
:
string
,
descriptor
:
TypedPropertyDescriptor
<
any
>
) =>
void
;