UNPKG
create-dacc-app
Version:
latest (0.1.1-alpha.1)
0.1.1-alpha.1
0.1.1-alpha.0
0.1.0
A package to scaffold a dacc app environment with TypeScript
create-dacc-app
/
dist
/
template
/
src
/
main.ts
9 lines
(7 loc)
•
216 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import { State }
from
'dacc'
async
function
main
()
{
new
State().
from
(
"alpine"
) .run(
"echo Hello, World! > /hello.txt"
) .runImage({ run: { command:
"cat"
,
args
: [
"/hello.txt"
] } }) }
void
main
()