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

Commit

Permalink
Merge pull request #75 from mesg-foundation/feature/version-engine-0.…
Browse files Browse the repository at this point in the history
…10.1

add version file and change to v0.10.1
  • Loading branch information
NicolasMahe authored Jun 14, 2019
2 parents 0e5c82d + 1cf50cc commit 28a3406
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ OPTIONS
--log-level=(debug|info|warn|error|fatal|panic) [default: info] log level
--name=name (required) [default: engine] name of the service running the engine
--silent
--version=version (required) [default: v0.10.0] Version of the engine to run
--version=version (required) [default: v0.10.1] Version of the engine to run
```

_See code: [src/commands/daemon/start.ts](https://github.com/mesg-foundation/cli/blob/v1.0.3/src/commands/daemon/start.ts)_
Expand Down
3 changes: 2 additions & 1 deletion src/commands/daemon/start.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {flags} from '@oclif/command'

import Command from '../../docker-command'
import version from '../../version';

import Status, {ServiceStatus} from './status'

Expand All @@ -12,7 +13,7 @@ export default class Start extends Command {
version: flags.string({
description: 'Version of the engine to run',
required: true,
default: 'v0.10.0'
default: version.engine
}),
'log-force-colors': flags.boolean({
description: 'log force colors',
Expand Down
3 changes: 3 additions & 0 deletions src/version.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
engine: 'v0.10.1'
}

0 comments on commit 28a3406

Please sign in to comment.