From 3668574ea139f73bf62cf49345f48d9f3378355a Mon Sep 17 00:00:00 2001 From: Pengyuan Zhao Date: Wed, 16 Oct 2024 17:12:17 -0400 Subject: [PATCH] chore: fix test --- .../test_resources/help/component_list | 2 +- .../test_resources/help/component_show | 21 +++++++++++++++++++ .../test_resources/help/component_uninstall | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 integration/test_resources/help/component_show diff --git a/integration/test_resources/help/component_list b/integration/test_resources/help/component_list index 4faded654..f0a84e3a4 100644 --- a/integration/test_resources/help/component_list +++ b/integration/test_resources/help/component_list @@ -21,4 +21,4 @@ Global Flags: --noninteractive turn off interactive mode (disable spinners, prompts, etc.) --organization access organization level data sets (org admins only) -p, --profile string switch between profiles configured at ~/.lacework.toml - --subaccount string sub-account name inside your organization (org admins only) \ No newline at end of file + --subaccount string sub-account name inside your organization (org admins only) diff --git a/integration/test_resources/help/component_show b/integration/test_resources/help/component_show new file mode 100644 index 000000000..f04b80730 --- /dev/null +++ b/integration/test_resources/help/component_show @@ -0,0 +1,21 @@ +Show details about a component + +Usage: + lacework component show [flags] + +Flags: + -h, --help help for show + +Global Flags: + -a, --account string account subdomain of URL (i.e. .lacework.net) + -k, --api_key string access key id + -s, --api_secret string secret access key + --api_token string access token (replaces the use of api_key and api_secret) + --debug turn on debug logging + --json switch commands output from human-readable to json format + --nocache turn off caching + --nocolor turn off colors + --noninteractive turn off interactive mode (disable spinners, prompts, etc.) + --organization access organization level data sets (org admins only) + -p, --profile string switch between profiles configured at ~/.lacework.toml + --subaccount string sub-account name inside your organization (org admins only) diff --git a/integration/test_resources/help/component_uninstall b/integration/test_resources/help/component_uninstall index 7983eeb01..e313db222 100644 --- a/integration/test_resources/help/component_uninstall +++ b/integration/test_resources/help/component_uninstall @@ -21,4 +21,4 @@ Global Flags: --noninteractive turn off interactive mode (disable spinners, prompts, etc.) --organization access organization level data sets (org admins only) -p, --profile string switch between profiles configured at ~/.lacework.toml - --subaccount string sub-account name inside your organization (org admins only) \ No newline at end of file + --subaccount string sub-account name inside your organization (org admins only)