Skip to content

Commit 6f29eb4

Browse files
authored
Merge pull request #78 from cloudgraphdev/beta
RELEASE 0.21.4
2 parents 99a5e73 + d052e4a commit 6f29eb4

File tree

4 files changed

+30
-17
lines changed

4 files changed

+30
-17
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## [0.21.4-beta.1](https://github.com/cloudgraphdev/cli/compare/0.21.3...0.21.4-beta.1) (2022-04-14)
2+
3+
4+
### Bug Fixes
5+
6+
* **rebase:** fastforward alpha to main ([a2416f4](https://github.com/cloudgraphdev/cli/commit/a2416f4a4c83836c0f65aa4f7ed22026f35bceba))
7+
* Update scan/load output of query engine location to be accurate ([af74605](https://github.com/cloudgraphdev/cli/commit/af746059eab95ec8163fc4d14c9e2d7321e84e46))
8+
9+
## [0.21.4-alpha.1](https://github.com/cloudgraphdev/cli/compare/0.21.3...0.21.4-alpha.1) (2022-04-14)
10+
11+
12+
### Bug Fixes
13+
14+
* **rebase:** fastforward alpha to main ([a2416f4](https://github.com/cloudgraphdev/cli/commit/a2416f4a4c83836c0f65aa4f7ed22026f35bceba))
15+
* Update scan/load output of query engine location to be accurate ([af74605](https://github.com/cloudgraphdev/cli/commit/af746059eab95ec8163fc4d14c9e2d7321e84e46))
16+
117
## [0.21.3](https://github.com/cloudgraphdev/cli/compare/0.21.2...0.21.3) (2022-04-06)
218

319

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ EXAMPLES
14441444
$ cg init aws -r [Specify resources to crawl]
14451445
```
14461446

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

14491449
## `cg launch [PROVIDER]`
14501450

@@ -1476,7 +1476,7 @@ EXAMPLES
14761476
$ cg launch
14771477
```
14781478

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

14811481
## `cg load [PROVIDER]`
14821482

@@ -1510,7 +1510,7 @@ EXAMPLES
15101510
$ cg load aws [Load data for AWS]
15111511
```
15121512

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

15151515
## `cg policy [PROVIDER]`
15161516

@@ -1539,7 +1539,7 @@ DESCRIPTION
15391539
Commands to manage policy pack modules, run $ cg policy for more info.
15401540
```
15411541

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

15441544
## `cg policy add [PROVIDER]`
15451545

@@ -1752,7 +1752,7 @@ DESCRIPTION
17521752
Commands to manage provider modules, run $ cg provider for more info.
17531753
```
17541754

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

17571757
## `cg provider add [PROVIDER]`
17581758

@@ -1974,7 +1974,7 @@ EXAMPLES
19741974
$ cg scan aws --no-serve [Do not start the query engine]
19751975
```
19761976

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

19791979
## `cg serve [PROVIDER]`
19801980

@@ -2006,7 +2006,7 @@ EXAMPLES
20062006
$ cg serve
20072007
```
20082008

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

20112011
## `cg teardown [PROVIDER]`
20122012

@@ -2028,7 +2028,7 @@ EXAMPLES
20282028
$ cg teardown --delete-image
20292029
```
20302030

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

20332033
## `cg update [PROVIDER]`
20342034

@@ -2064,5 +2064,5 @@ EXAMPLES
20642064
$ cg update
20652065
```
20662066

2067-
_See code: [src/commands/update.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.3/src/commands/update.ts)_
2067+
_See code: [src/commands/update.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.4-beta.1/src/commands/update.ts)_
20682068
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cloudgraph/cli",
33
"description": "Scan your cloud infrastructure data and query it with GraphQL",
4-
"version": "0.21.3",
4+
"version": "0.21.4-beta.1",
55
"author": "AutoCloud",
66
"license": "MPL-2.0",
77
"publishConfig": {

src/commands/base.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,15 @@ homebrew: 1. ${chalk.italic.green('brew update')} \n
156156
await queryEngine.startServer(
157157
this.getHost(await this.getConnectionSettings())
158158
)
159+
const queryEngineUrl = `http://localhost:${availablePort}/${await this.getQueryEngine()}`
159160
this.logger.success(
160-
`Serving query engine at ${chalk.underline.green(
161-
`http://localhost:${availablePort}`
162-
)}`
161+
`Serving query engine at ${chalk.underline.green(queryEngineUrl)}`
163162
)
164163
try {
165-
await openBrowser(
166-
`http://localhost:${availablePort}/${await this.getQueryEngine()}`
167-
)
164+
await openBrowser(queryEngineUrl)
168165
} catch (error) {
169166
this.logger.warn(
170-
`Could not open a browser tab with query engine, open manually at http://localhost:${availablePort}`
167+
`Could not open a browser tab with query engine, open manually at ${queryEngineUrl}`
171168
)
172169
}
173170
}

0 commit comments

Comments
 (0)