Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
fix dir flag
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidWells committed Jul 19, 2019
1 parent a126857 commit 9aae3d4
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions src/commands/dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,17 @@ DevCommand.examples = [
DevCommand.strict = false;

DevCommand.flags = {
command: flags.string({ char: "c", description: "command to run" }),
port: flags.integer({ char: "p", description: "port of netlify dev" }),
dir: flags.integer({ char: "d", description: "dir with static files" }),
command: flags.string({
char: "c",
description: "command to run"
}),
port: flags.integer({
char: "p",
description: "port of netlify dev" }),
dir: flags.string({
char: "d",
description: "dir with static files"
}),
functions: flags.string({
char: "f",
description: "Specify a functions folder to serve"
Expand All @@ -323,7 +331,10 @@ DevCommand.flags = {
char: "o",
description: "disables any features that require network access"
}),
live: flags.boolean({ char: "l", description: "Start a public live session" })
live: flags.boolean({
char: "l",
description: "Start a public live session"
})
};

module.exports = DevCommand;

0 comments on commit 9aae3d4

Please sign in to comment.