UNPKG
aflower-cli
Version:
latest (0.0.9)
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
One flower project command line interface.
github.com/lunoob/aflower-cli
lunoob/aflower-cli
aflower-cli
/
commands
/
add
/
service
/
source
/
test_service.ts
14 lines
(10 loc)
•
226 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** *
@fileoverview
Example Service Manager *
@author
Luoob
*/
import
{ testHttp }
from
'./http'
class
ExampleService
{
/* fetch data */
public
fetch =
testHttp
(
'get'
)(
'/data'
) }
export
default
new
ExampleService
()