Skip to content

Commit

Permalink
v0.1.13 (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelameaume authored Feb 24, 2023
1 parent 81c2ef7 commit e157e61
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
LICENSE.md
pnpm-lock.yaml
pnpm-workspace.yaml
package.json
/docs
32 changes: 16 additions & 16 deletions bin/index.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#!/usr/bin/env node

import sade from "sade";
import { run } from "../src/cli/index.js";
import sade from 'sade';
import { run } from '../src/cli/index.js';

sade('fragment [entry]')
.version('0.1.0')
.describe('Run a dev environment for fragment')
.option('-n, --new', 'Create file if it does not exist', false)
.option('-t, --template', 'Specify template to create the file from', '2d')
.option('-p, --port', 'Port to bind', 3000)
.option('-dev, --development', 'Enable development mode', false)
.option('-b, --build', 'Build sketch for production', false)
.option('--exportDir', 'Directory used for exports', process.cwd())
.option('--outDir', 'Directory used for static build', null)
.option('--emptyOutDir', "Empty outDir before static build", false)
.action((entry, options) => {
run(entry, options);
})
.parse(process.argv);
.version('0.1.13')
.describe('Run a dev environment for fragment')
.option('-n, --new', 'Create file if it does not exist', false)
.option('-t, --template', 'Specify template to create the file from', '2d')
.option('-p, --port', 'Port to bind', 3000)
.option('-dev, --development', 'Enable development mode', false)
.option('-b, --build', 'Build sketch for production', false)
.option('--exportDir', 'Directory used for exports', process.cwd())
.option('--outDir', 'Directory used for static build', null)
.option('--emptyOutDir', 'Empty outDir before static build', false)
.action((entry, options) => {
run(entry, options);
})
.parse(process.argv);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fragment-tools",
"version": "0.1.12",
"version": "0.1.13",
"description": "A web development environment for creative coding",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit e157e61

Please sign in to comment.