-
Notifications
You must be signed in to change notification settings - Fork 13
Feature/add windows support #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Error in |
f85d3c5 to
62a040c
Compare
|
Hey Dennis, thanks a lot for your contribution! This also marks our first official external contribution ;-) I can earliest have a look at Thursday when I'm home and I have access to my personal Windows machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only the let vs var issue.
install.sh
Outdated
| ;; | ||
| CYGWIN*|MINGW32*|MSYS*|MINGW*) | ||
| echo 'Collie currently does not support Windows. Please have a look at https://github.com/meshcloud/collie-cli/issues/2 to follow progress.' | ||
| echo 'Please use install.ps1 script. See readme for more information.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| echo 'Please use install.ps1 script. See readme for more information.' | |
| echo 'Please execute the install.ps1 script as mentioned in our README. Go to https://github.com/meshcloud/collie-cli#-install-and-usage' |
install.ps1
Outdated
| New-Item -ItemType directory -Path "${HOME}\collie-cli" | ||
| Invoke-WebRequest -Uri $url -OutFile "${HOME}\collie-cli\collie.exe" | ||
|
|
||
| Write-Host "Please add ${HOME}\collie-cli\collie.exe to your path environemnt variable." No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Write-Host "Please add ${HOME}\collie-cli\collie.exe to your path environemnt variable." | |
| Write-Host "Please add ${HOME}\collie-cli\collie.exe to your path environment variable." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me to get collie as a command to work I had to:
- Remove the
.exepart from the file name, as it forces me to runcollie.exe tenant listotherwise. - Remove
collie.exefrom the path. Instead, I addedC:/Users/Jelle/collie-cli/to the path. Other approaches did not work.
|
I'll be testing the working of the application now. So far:
|
|
Fixed all mentioned above except for blue logging. |
7ce2d5f to
ab1bcc3
Compare
ab1bcc3 to
83cf941
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
src/commands/init-commands.ts
Outdated
| .name(CLICommand) | ||
| .help({ | ||
| // The darkblue of Cliffy doesn't look great on the blue of PowerShell. | ||
| colors: Deno.build.os !== "windows", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d: Maybe we should introduce a global variable like "isWindows: bool" or something?
|
|
||
| buildMeshTable(): MeshTable { | ||
| if (this.isatty) { | ||
| if (this.isatty && os.default.platform() !== "windows") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d: we mix Deno.build.os !== "windows" and os.default.platform() !== "windows" maybe really consider this central variable at some meaningful spot, maybe in one of the init.ts files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes total sense, will do
| } | ||
| }); | ||
| const answer = await askYesNo( | ||
| const answer: boolean = await Confirm.prompt( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting. I guess this works on Linux as well? But looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we used it already. That's why I decide to use it.
This confirm prompt is also used when asking to install some azure extension (I think you wrote that)
|
Error in |
|
Error in |
639440d to
7ab1e67
Compare
|
Error in |
7ab1e67 to
464ee21
Compare
* feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
* feat: Add tutorial links directly in README. (#52) * feat: Add tutorial links directly in README. * And removed GitOps section, which is not supported yet. * Update README.md * Update README.md Added a different caption * feat: Avoid cli setup checks when not required (#68) * feat: Avoid cli setup checks when not required In order to optimize startup time, especially when only issuing a non cloud-cli required command, collie now only checks cloud cli configuration when required. * fix: setup logger before running commands and await it not awaiting the logger configuration can cause loosing logs * feat: run cli checks concurrently see discussion in #68 * feat: add debug logs to ShellRunner for every command * style: deno fmt Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> * Feature/issue 56 (#71) * feat: detect installed cli versions match expectations if not, give installation hints via collie readme. fixes #56 * fix: handle GCP projects with empty IAM policies (#80) fixes #67 * fix: use azure subscription id instead of name to prevent word-splitting (#79) fixes #76 * Feature/cache statistics (#78) * refactor: generate entries summary generically for all platforms * feat: add query statistics to tty table output This lets users know whether results are served from cache or if they're queried from the cloud. At the moment only "tenant list" command supports this. Fixes #72 * feat: add query statistics to all tenant commands Fixes #72 * refactor: extract QueryStatistics class into its own module * test: add a tests for query statistics * feat: slightly tweak the query stats message. * feat: correctly print cache and cloud query statistics for hybrid query hybrid queries can occur when e.g. running - collie tenant list -> partially fills the tenant cache - collie tenant iam -> uses tenants from cache, adds IAM info * refactor: Uses OOP patterns Simplifies the statistics decorator to be less intrusive. Co-authored-by: Thomas Felix <tfelix@meshcloud.io> * Update issue templates * Update issue templates * fix: Spinner animation overwrites error message (#85) Improves the spinner animation termination to avoid part of the error message writing into the spinner animation text. * feat: Tags are shown in table cost view (#90) * fix: Fix costs / IAM missing in cached tenants. (#91) * Feature/add windows support (#87) * feat: add windows support for collie * feat: add windows binary to releases * fix: differentiation in posix and win32 path * fix: Replaces var with let * Fixed issue found while testing Windows * Added global `isWindows` var for consistency Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Jelle den Burger <jdburger@meshcloud.io> * Bump version to 0.5.0 Co-authored-by: Thomas Felix <1186998+tfelix@users.noreply.github.com> Co-authored-by: Johannes Rudolph <jrudolph@meshcloud.io> Co-authored-by: Thomas Felix <tfelix@meshcloud.io> Co-authored-by: Dennis Murtic <73823855+dmurtic@users.noreply.github.com>
For Windows:
C:\Users\<<username>>\AppData\Roaming\.config\collie-cli\Close #2