Skip to content

Commit

Permalink
Merge pull request #78 from cloudgraphdev/beta
Browse files Browse the repository at this point in the history
RELEASE 0.21.4
  • Loading branch information
tyler-dunkel authored Apr 27, 2022
2 parents 99a5e73 + d052e4a commit 6f29eb4
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 17 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## [0.21.4-beta.1](https://github.com/cloudgraphdev/cli/compare/0.21.3...0.21.4-beta.1) (2022-04-14)


### Bug Fixes

* **rebase:** fastforward alpha to main ([a2416f4](https://github.com/cloudgraphdev/cli/commit/a2416f4a4c83836c0f65aa4f7ed22026f35bceba))
* Update scan/load output of query engine location to be accurate ([af74605](https://github.com/cloudgraphdev/cli/commit/af746059eab95ec8163fc4d14c9e2d7321e84e46))

## [0.21.4-alpha.1](https://github.com/cloudgraphdev/cli/compare/0.21.3...0.21.4-alpha.1) (2022-04-14)


### Bug Fixes

* **rebase:** fastforward alpha to main ([a2416f4](https://github.com/cloudgraphdev/cli/commit/a2416f4a4c83836c0f65aa4f7ed22026f35bceba))
* Update scan/load output of query engine location to be accurate ([af74605](https://github.com/cloudgraphdev/cli/commit/af746059eab95ec8163fc4d14c9e2d7321e84e46))

## [0.21.3](https://github.com/cloudgraphdev/cli/compare/0.21.2...0.21.3) (2022-04-06)


Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ EXAMPLES
$ cg init aws -r [Specify resources to crawl]
```

_See code: [src/commands/init.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/init.ts)_
_See code: [src/commands/init.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/init.ts)_

## `cg launch [PROVIDER]`

Expand Down Expand Up @@ -1476,7 +1476,7 @@ EXAMPLES
$ cg launch
```

_See code: [src/commands/launch.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/launch.ts)_
_See code: [src/commands/launch.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/launch.ts)_

## `cg load [PROVIDER]`

Expand Down Expand Up @@ -1510,7 +1510,7 @@ EXAMPLES
$ cg load aws [Load data for AWS]
```

_See code: [src/commands/load.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/load.ts)_
_See code: [src/commands/load.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/load.ts)_

## `cg policy [PROVIDER]`

Expand Down Expand Up @@ -1539,7 +1539,7 @@ DESCRIPTION
Commands to manage policy pack modules, run $ cg policy for more info.
```

_See code: [src/commands/policy/index.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/policy/index.ts)_
_See code: [src/commands/policy/index.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/policy/index.ts)_

## `cg policy add [PROVIDER]`

Expand Down Expand Up @@ -1752,7 +1752,7 @@ DESCRIPTION
Commands to manage provider modules, run $ cg provider for more info.
```

_See code: [src/commands/provider/index.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/provider/index.ts)_
_See code: [src/commands/provider/index.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/provider/index.ts)_

## `cg provider add [PROVIDER]`

Expand Down Expand Up @@ -1974,7 +1974,7 @@ EXAMPLES
$ cg scan aws --no-serve [Do not start the query engine]
```

_See code: [src/commands/scan.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/scan.ts)_
_See code: [src/commands/scan.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/scan.ts)_

## `cg serve [PROVIDER]`

Expand Down Expand Up @@ -2006,7 +2006,7 @@ EXAMPLES
$ cg serve
```

_See code: [src/commands/serve.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/serve.ts)_
_See code: [src/commands/serve.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/serve.ts)_

## `cg teardown [PROVIDER]`

Expand All @@ -2028,7 +2028,7 @@ EXAMPLES
$ cg teardown --delete-image
```

_See code: [src/commands/teardown.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/teardown.ts)_
_See code: [src/commands/teardown.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/teardown.ts)_

## `cg update [PROVIDER]`

Expand Down Expand Up @@ -2064,5 +2064,5 @@ EXAMPLES
$ cg update
```

_See code: [src/commands/update.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/update.ts)_
_See code: [src/commands/update.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/update.ts)_
<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cloudgraph/cli",
"description": "Scan your cloud infrastructure data and query it with GraphQL",
"version": "0.21.3",
"version": "0.21.4-beta.1",
"author": "AutoCloud",
"license": "MPL-2.0",
"publishConfig": {
Expand Down
11 changes: 4 additions & 7 deletions src/commands/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,15 @@ homebrew: 1. ${chalk.italic.green('brew update')} \n
await queryEngine.startServer(
this.getHost(await this.getConnectionSettings())
)
const queryEngineUrl = `http://localhost:${availablePort}/${await this.getQueryEngine()}`
this.logger.success(
`Serving query engine at ${chalk.underline.green(
`http://localhost:${availablePort}`
)}`
`Serving query engine at ${chalk.underline.green(queryEngineUrl)}`
)
try {
await openBrowser(
`http://localhost:${availablePort}/${await this.getQueryEngine()}`
)
await openBrowser(queryEngineUrl)
} catch (error) {
this.logger.warn(
`Could not open a browser tab with query engine, open manually at http://localhost:${availablePort}`
`Could not open a browser tab with query engine, open manually at ${queryEngineUrl}`
)
}
}
Expand Down

0 comments on commit 6f29eb4

Please sign in to comment.