@rockcarver/frodo-cli 0.18.2-9 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +112 -1
- package/esm/app.js +4 -1
- package/esm/app.js.map +1 -1
- package/esm/cli/FrodoCommand.js +133 -0
- package/esm/cli/FrodoCommand.js.map +1 -0
- package/esm/cli/_template/something-delete.js +9 -15
- package/esm/cli/_template/something-delete.js.map +1 -1
- package/esm/cli/_template/something-describe.js +9 -15
- package/esm/cli/_template/something-describe.js.map +1 -1
- package/esm/cli/_template/something-else-delete.js +9 -15
- package/esm/cli/_template/something-else-delete.js.map +1 -1
- package/esm/cli/_template/something-else-describe.js +9 -15
- package/esm/cli/_template/something-else-describe.js.map +1 -1
- package/esm/cli/_template/something-else-export.js +9 -15
- package/esm/cli/_template/something-else-export.js.map +1 -1
- package/esm/cli/_template/something-else-import.js +9 -15
- package/esm/cli/_template/something-else-import.js.map +1 -1
- package/esm/cli/_template/something-else-list.js +9 -15
- package/esm/cli/_template/something-else-list.js.map +1 -1
- package/esm/cli/_template/something-else.js +8 -8
- package/esm/cli/_template/something-else.js.map +1 -1
- package/esm/cli/_template/something-export.js +9 -15
- package/esm/cli/_template/something-export.js.map +1 -1
- package/esm/cli/_template/something-import.js +9 -15
- package/esm/cli/_template/something-import.js.map +1 -1
- package/esm/cli/_template/something-list.js +9 -15
- package/esm/cli/_template/something-list.js.map +1 -1
- package/esm/cli/_template/something-other-delete.js +9 -15
- package/esm/cli/_template/something-other-delete.js.map +1 -1
- package/esm/cli/_template/something-other-describe.js +9 -15
- package/esm/cli/_template/something-other-describe.js.map +1 -1
- package/esm/cli/_template/something-other-export.js +9 -15
- package/esm/cli/_template/something-other-export.js.map +1 -1
- package/esm/cli/_template/something-other-import.js +9 -15
- package/esm/cli/_template/something-other-import.js.map +1 -1
- package/esm/cli/_template/something-other-list.js +9 -15
- package/esm/cli/_template/something-other-list.js.map +1 -1
- package/esm/cli/_template/something-other.js +8 -8
- package/esm/cli/_template/something-other.js.map +1 -1
- package/esm/cli/_template/something.js +9 -10
- package/esm/cli/_template/something.js.map +1 -1
- package/esm/cli/admin/admin-add-autoid-static-user-mapping.js +8 -15
- package/esm/cli/admin/admin-add-autoid-static-user-mapping.js.map +1 -1
- package/esm/cli/admin/admin-create-oauth2-client-with-admin-privileges.js +9 -15
- package/esm/cli/admin/admin-create-oauth2-client-with-admin-privileges.js.map +1 -1
- package/esm/cli/admin/admin-get-access-token.js +9 -15
- package/esm/cli/admin/admin-get-access-token.js.map +1 -1
- package/esm/cli/admin/admin-grant-oauth2-client-admin-privileges.js +9 -15
- package/esm/cli/admin/admin-grant-oauth2-client-admin-privileges.js.map +1 -1
- package/esm/cli/admin/admin-hide-generic-extension-attributes.js +9 -15
- package/esm/cli/admin/admin-hide-generic-extension-attributes.js.map +1 -1
- package/esm/cli/admin/admin-list-oauth2-clients-with-admin-privileges.js +8 -15
- package/esm/cli/admin/admin-list-oauth2-clients-with-admin-privileges.js.map +1 -1
- package/esm/cli/admin/admin-list-oauth2-clients-with-custom-privileges.js +8 -15
- package/esm/cli/admin/admin-list-oauth2-clients-with-custom-privileges.js.map +1 -1
- package/esm/cli/admin/admin-list-static-user-mappings.js +9 -15
- package/esm/cli/admin/admin-list-static-user-mappings.js.map +1 -1
- package/esm/cli/admin/admin-remove-static-user-mapping.js +8 -15
- package/esm/cli/admin/admin-remove-static-user-mapping.js.map +1 -1
- package/esm/cli/admin/admin-repair-org-model.js +9 -15
- package/esm/cli/admin/admin-repair-org-model.js.map +1 -1
- package/esm/cli/admin/admin-revoke-oauth2-client-admin-privileges.js +9 -15
- package/esm/cli/admin/admin-revoke-oauth2-client-admin-privileges.js.map +1 -1
- package/esm/cli/admin/admin-show-generic-extension-attributes.js +9 -15
- package/esm/cli/admin/admin-show-generic-extension-attributes.js.map +1 -1
- package/esm/cli/admin/admin.js +14 -15
- package/esm/cli/admin/admin.js.map +1 -1
- package/esm/cli/agent/agent-delete.js +8 -15
- package/esm/cli/agent/agent-delete.js.map +1 -1
- package/esm/cli/agent/agent-describe.js +9 -15
- package/esm/cli/agent/agent-describe.js.map +1 -1
- package/esm/cli/agent/agent-export.js +8 -15
- package/esm/cli/agent/agent-export.js.map +1 -1
- package/esm/cli/agent/agent-gateway-delete.js +8 -15
- package/esm/cli/agent/agent-gateway-delete.js.map +1 -1
- package/esm/cli/agent/agent-gateway-describe.js +9 -15
- package/esm/cli/agent/agent-gateway-describe.js.map +1 -1
- package/esm/cli/agent/agent-gateway-export.js +8 -15
- package/esm/cli/agent/agent-gateway-export.js.map +1 -1
- package/esm/cli/agent/agent-gateway-import.js +8 -15
- package/esm/cli/agent/agent-gateway-import.js.map +1 -1
- package/esm/cli/agent/agent-gateway-list.js +9 -15
- package/esm/cli/agent/agent-gateway-list.js.map +1 -1
- package/esm/cli/agent/agent-gateway.js +8 -8
- package/esm/cli/agent/agent-gateway.js.map +1 -1
- package/esm/cli/agent/agent-import.js +8 -15
- package/esm/cli/agent/agent-import.js.map +1 -1
- package/esm/cli/agent/agent-java-delete.js +8 -15
- package/esm/cli/agent/agent-java-delete.js.map +1 -1
- package/esm/cli/agent/agent-java-describe.js +9 -15
- package/esm/cli/agent/agent-java-describe.js.map +1 -1
- package/esm/cli/agent/agent-java-export.js +8 -15
- package/esm/cli/agent/agent-java-export.js.map +1 -1
- package/esm/cli/agent/agent-java-import.js +8 -15
- package/esm/cli/agent/agent-java-import.js.map +1 -1
- package/esm/cli/agent/agent-java-list.js +9 -15
- package/esm/cli/agent/agent-java-list.js.map +1 -1
- package/esm/cli/agent/agent-java.js +8 -8
- package/esm/cli/agent/agent-java.js.map +1 -1
- package/esm/cli/agent/agent-list.js +9 -15
- package/esm/cli/agent/agent-list.js.map +1 -1
- package/esm/cli/agent/agent-web-delete.js +8 -15
- package/esm/cli/agent/agent-web-delete.js.map +1 -1
- package/esm/cli/agent/agent-web-describe.js +9 -15
- package/esm/cli/agent/agent-web-describe.js.map +1 -1
- package/esm/cli/agent/agent-web-export.js +8 -15
- package/esm/cli/agent/agent-web-export.js.map +1 -1
- package/esm/cli/agent/agent-web-import.js +8 -15
- package/esm/cli/agent/agent-web-import.js.map +1 -1
- package/esm/cli/agent/agent-web-list.js +9 -15
- package/esm/cli/agent/agent-web-list.js.map +1 -1
- package/esm/cli/agent/agent-web.js +8 -8
- package/esm/cli/agent/agent-web.js.map +1 -1
- package/esm/cli/agent/agent.js +10 -11
- package/esm/cli/agent/agent.js.map +1 -1
- package/esm/cli/app/app-delete.js +9 -12
- package/esm/cli/app/app-delete.js.map +1 -1
- package/esm/cli/app/app-describe.js +9 -12
- package/esm/cli/app/app-describe.js.map +1 -1
- package/esm/cli/app/app-export.js +28 -34
- package/esm/cli/app/app-export.js.map +1 -1
- package/esm/cli/app/app-import.js +11 -14
- package/esm/cli/app/app-import.js.map +1 -1
- package/esm/cli/app/app-list.js +11 -14
- package/esm/cli/app/app-list.js.map +1 -1
- package/esm/cli/app/app.js +8 -10
- package/esm/cli/app/app.js.map +1 -1
- package/esm/cli/conn/conn-delete.js +5 -5
- package/esm/cli/conn/conn-delete.js.map +1 -1
- package/esm/cli/conn/conn-describe.js +6 -5
- package/esm/cli/conn/conn-describe.js.map +1 -1
- package/esm/cli/conn/conn-list.js +6 -8
- package/esm/cli/conn/conn-list.js.map +1 -1
- package/esm/cli/conn/conn-save.js +72 -0
- package/esm/cli/conn/conn-save.js.map +1 -0
- package/esm/cli/conn/conn.js +10 -8
- package/esm/cli/conn/conn.js.map +1 -1
- package/esm/cli/email/email-template-export.js +27 -33
- package/esm/cli/email/email-template-export.js.map +1 -1
- package/esm/cli/email/email-template-import.js +33 -39
- package/esm/cli/email/email-template-import.js.map +1 -1
- package/esm/cli/email/email-template-list.js +11 -14
- package/esm/cli/email/email-template-list.js.map +1 -1
- package/esm/cli/email/email-template.js +6 -6
- package/esm/cli/email/email-template.js.map +1 -1
- package/esm/cli/email/email.js +2 -2
- package/esm/cli/email/email.js.map +1 -1
- package/esm/cli/esv/esv-apply.js +9 -12
- package/esm/cli/esv/esv-apply.js.map +1 -1
- package/esm/cli/esv/esv-secret-create.js +11 -14
- package/esm/cli/esv/esv-secret-create.js.map +1 -1
- package/esm/cli/esv/esv-secret-delete.js +23 -29
- package/esm/cli/esv/esv-secret-delete.js.map +1 -1
- package/esm/cli/esv/esv-secret-describe.js +11 -14
- package/esm/cli/esv/esv-secret-describe.js.map +1 -1
- package/esm/cli/esv/esv-secret-export.js +9 -12
- package/esm/cli/esv/esv-secret-export.js.map +1 -1
- package/esm/cli/esv/esv-secret-import.js +9 -12
- package/esm/cli/esv/esv-secret-import.js.map +1 -1
- package/esm/cli/esv/esv-secret-list.js +11 -14
- package/esm/cli/esv/esv-secret-list.js.map +1 -1
- package/esm/cli/esv/esv-secret-set.js +11 -14
- package/esm/cli/esv/esv-secret-set.js.map +1 -1
- package/esm/cli/esv/esv-secret-version-activate.js +18 -24
- package/esm/cli/esv/esv-secret-version-activate.js.map +1 -1
- package/esm/cli/esv/esv-secret-version-create.js +11 -14
- package/esm/cli/esv/esv-secret-version-create.js.map +1 -1
- package/esm/cli/esv/esv-secret-version-deactivate.js +18 -24
- package/esm/cli/esv/esv-secret-version-deactivate.js.map +1 -1
- package/esm/cli/esv/esv-secret-version-delete.js +23 -29
- package/esm/cli/esv/esv-secret-version-delete.js.map +1 -1
- package/esm/cli/esv/esv-secret-version-list.js +11 -14
- package/esm/cli/esv/esv-secret-version-list.js.map +1 -1
- package/esm/cli/esv/esv-secret-version.js +8 -8
- package/esm/cli/esv/esv-secret-version.js.map +1 -1
- package/esm/cli/esv/esv-secret.js +11 -11
- package/esm/cli/esv/esv-secret.js.map +1 -1
- package/esm/cli/esv/esv-variable-create.js +10 -14
- package/esm/cli/esv/esv-variable-create.js.map +1 -1
- package/esm/cli/esv/esv-variable-delete.js +23 -29
- package/esm/cli/esv/esv-variable-delete.js.map +1 -1
- package/esm/cli/esv/esv-variable-describe.js +11 -14
- package/esm/cli/esv/esv-variable-describe.js.map +1 -1
- package/esm/cli/esv/esv-variable-export.js +9 -12
- package/esm/cli/esv/esv-variable-export.js.map +1 -1
- package/esm/cli/esv/esv-variable-import.js +9 -12
- package/esm/cli/esv/esv-variable-import.js.map +1 -1
- package/esm/cli/esv/esv-variable-list.js +11 -14
- package/esm/cli/esv/esv-variable-list.js.map +1 -1
- package/esm/cli/esv/esv-variable-set.js +19 -26
- package/esm/cli/esv/esv-variable-set.js.map +1 -1
- package/esm/cli/esv/esv-variable.js +10 -10
- package/esm/cli/esv/esv-variable.js.map +1 -1
- package/esm/cli/esv/esv.js +5 -6
- package/esm/cli/esv/esv.js.map +1 -1
- package/esm/cli/idm/idm-count.js +12 -17
- package/esm/cli/idm/idm-count.js.map +1 -1
- package/esm/cli/idm/idm-export.js +29 -39
- package/esm/cli/idm/idm-export.js.map +1 -1
- package/esm/cli/idm/idm-import.js +29 -39
- package/esm/cli/idm/idm-import.js.map +1 -1
- package/esm/cli/idm/idm-list.js +11 -17
- package/esm/cli/idm/idm-list.js.map +1 -1
- package/esm/cli/idm/idm.js +6 -9
- package/esm/cli/idm/idm.js.map +1 -1
- package/esm/cli/idp/idp-export.js +11 -15
- package/esm/cli/idp/idp-export.js.map +1 -1
- package/esm/cli/idp/idp-import.js +32 -38
- package/esm/cli/idp/idp-import.js.map +1 -1
- package/esm/cli/idp/idp-list.js +9 -13
- package/esm/cli/idp/idp-list.js.map +1 -1
- package/esm/cli/idp/idp.js +5 -6
- package/esm/cli/idp/idp.js.map +1 -1
- package/esm/cli/info/info.js +19 -20
- package/esm/cli/info/info.js.map +1 -1
- package/esm/cli/journey/journey-delete.js +22 -28
- package/esm/cli/journey/journey-delete.js.map +1 -1
- package/esm/cli/journey/journey-describe.js +12 -19
- package/esm/cli/journey/journey-describe.js.map +1 -1
- package/esm/cli/journey/journey-disable.js +20 -26
- package/esm/cli/journey/journey-disable.js.map +1 -1
- package/esm/cli/journey/journey-enable.js +20 -26
- package/esm/cli/journey/journey-enable.js.map +1 -1
- package/esm/cli/journey/journey-export.js +37 -45
- package/esm/cli/journey/journey-export.js.map +1 -1
- package/esm/cli/journey/journey-import.js +44 -52
- package/esm/cli/journey/journey-import.js.map +1 -1
- package/esm/cli/journey/journey-list.js +10 -13
- package/esm/cli/journey/journey-list.js.map +1 -1
- package/esm/cli/journey/journey-prune.js +9 -13
- package/esm/cli/journey/journey-prune.js.map +1 -1
- package/esm/cli/journey/journey.js +10 -11
- package/esm/cli/journey/journey.js.map +1 -1
- package/esm/cli/logging/logs-fetch.js +17 -19
- package/esm/cli/logging/logs-fetch.js.map +1 -1
- package/esm/cli/logging/logs-list.js +19 -25
- package/esm/cli/logging/logs-list.js.map +1 -1
- package/esm/cli/logging/logs-tail.js +17 -19
- package/esm/cli/logging/logs-tail.js.map +1 -1
- package/esm/cli/logging/logs.js +7 -6
- package/esm/cli/logging/logs.js.map +1 -1
- package/esm/cli/realm/realm-add-custom-domain.js +11 -14
- package/esm/cli/realm/realm-add-custom-domain.js.map +1 -1
- package/esm/cli/realm/realm-describe.js +10 -14
- package/esm/cli/realm/realm-describe.js.map +1 -1
- package/esm/cli/realm/realm-list.js +11 -14
- package/esm/cli/realm/realm-list.js.map +1 -1
- package/esm/cli/realm/realm-remove-custom-domain.js +11 -14
- package/esm/cli/realm/realm-remove-custom-domain.js.map +1 -1
- package/esm/cli/realm/realm.js +7 -8
- package/esm/cli/realm/realm.js.map +1 -1
- package/esm/cli/saml/saml-cot-export.js +27 -36
- package/esm/cli/saml/saml-cot-export.js.map +1 -1
- package/esm/cli/saml/saml-cot-import.js +32 -41
- package/esm/cli/saml/saml-cot-import.js.map +1 -1
- package/esm/cli/saml/saml-cot-list.js +10 -16
- package/esm/cli/saml/saml-cot-list.js.map +1 -1
- package/esm/cli/saml/saml-cot.js +6 -6
- package/esm/cli/saml/saml-cot.js.map +1 -1
- package/esm/cli/saml/saml-delete.js +8 -15
- package/esm/cli/saml/saml-delete.js.map +1 -1
- package/esm/cli/saml/saml-describe.js +10 -16
- package/esm/cli/saml/saml-describe.js.map +1 -1
- package/esm/cli/saml/saml-export.js +9 -16
- package/esm/cli/saml/saml-export.js.map +1 -1
- package/esm/cli/saml/saml-import.js +45 -54
- package/esm/cli/saml/saml-import.js.map +1 -1
- package/esm/cli/saml/saml-list.js +11 -17
- package/esm/cli/saml/saml-list.js.map +1 -1
- package/esm/cli/saml/saml-metadata-export.js +21 -30
- package/esm/cli/saml/saml-metadata-export.js.map +1 -1
- package/esm/cli/saml/saml-metadata.js +4 -4
- package/esm/cli/saml/saml-metadata.js.map +1 -1
- package/esm/cli/saml/saml.js +9 -10
- package/esm/cli/saml/saml.js.map +1 -1
- package/esm/cli/script/script-delete.js +9 -12
- package/esm/cli/script/script-delete.js.map +1 -1
- package/esm/cli/script/script-describe.js +9 -12
- package/esm/cli/script/script-describe.js.map +1 -1
- package/esm/cli/script/script-export.js +28 -34
- package/esm/cli/script/script-export.js.map +1 -1
- package/esm/cli/script/script-import.js +10 -13
- package/esm/cli/script/script-import.js.map +1 -1
- package/esm/cli/script/script-list.js +10 -13
- package/esm/cli/script/script-list.js.map +1 -1
- package/esm/cli/script/script.js +7 -8
- package/esm/cli/script/script.js.map +1 -1
- package/esm/cli/service/service-delete.js +10 -16
- package/esm/cli/service/service-delete.js.map +1 -1
- package/esm/cli/service/service-export.js +12 -17
- package/esm/cli/service/service-export.js.map +1 -1
- package/esm/cli/service/service-import.js +12 -18
- package/esm/cli/service/service-import.js.map +1 -1
- package/esm/cli/service/service-list.js +9 -15
- package/esm/cli/service/service-list.js.map +1 -1
- package/esm/cli/service/service.js +6 -7
- package/esm/cli/service/service.js.map +1 -1
- package/esm/cli/theme/theme-delete.js +12 -19
- package/esm/cli/theme/theme-delete.js.map +1 -1
- package/esm/cli/theme/theme-export.js +12 -19
- package/esm/cli/theme/theme-export.js.map +1 -1
- package/esm/cli/theme/theme-import.js +14 -21
- package/esm/cli/theme/theme-import.js.map +1 -1
- package/esm/cli/theme/theme-list.js +10 -16
- package/esm/cli/theme/theme-list.js.map +1 -1
- package/esm/cli/theme/theme.js +6 -7
- package/esm/cli/theme/theme.js.map +1 -1
- package/esm/ops/ConnectionProfileOps.js +30 -0
- package/esm/ops/ConnectionProfileOps.js.map +1 -0
- package/esm/ops/IdmOps.js +317 -0
- package/esm/ops/IdmOps.js.map +1 -0
- package/esm/ops/JourneyOps.js +2 -1
- package/esm/ops/JourneyOps.js.map +1 -1
- package/esm/ops/ServiceOps.js +20 -20
- package/esm/ops/ServiceOps.js.map +1 -1
- package/esm/utils/Console.js +15 -25
- package/esm/utils/Console.js.map +1 -1
- package/package.json +6 -6
- package/esm/cli/cmd_common.js +0 -79
- package/esm/cli/cmd_common.js.map +0 -1
- package/esm/cli/conn/conn-add.js +0 -37
- package/esm/cli/conn/conn-add.js.map +0 -1
- package/esm/cli/journey/journey-delete.e2e.test_.js.map +0 -1
- package/esm/cli/journey/journey-list.e2e.test_.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv-variable-create.js","names":["
|
|
1
|
+
{"version":3,"file":"esv-variable-create.js","names":["FrodoCommand","Authenticate","Variables","verboseMessage","getTokens","createVariable","program","description","requiredOption","option","action","host","realm","user","password","options","command","handleDefaultArgsAndOpts","variableId","value","process","exitCode","parse"],"sources":["cli/esv/esv-variable-create.ts"],"sourcesContent":["import { FrodoCommand } from '../FrodoCommand';\nimport { Authenticate, Variables } from '@rockcarver/frodo-lib';\nimport { verboseMessage } from '../../utils/Console.js';\n\nconst { getTokens } = Authenticate;\nconst { createVariable } = Variables;\n\nconst program = new FrodoCommand('frodo esv variable create');\n\nprogram\n .description('Create variables.')\n .requiredOption('-i, --variable-id <variable-id>', 'Variable id.')\n .requiredOption('--value <value>', 'Secret value.')\n .option('--description [description]', 'Secret description.')\n .action(\n // implement command logic inside action handler\n async (host, realm, user, password, options, command) => {\n command.handleDefaultArgsAndOpts(\n host,\n realm,\n user,\n password,\n options,\n command\n );\n if (await getTokens()) {\n verboseMessage('Creating variable...');\n createVariable(options.variableId, options.value, options.description);\n } else {\n process.exitCode = 1;\n }\n }\n // end command logic inside action handler\n );\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,YAAY,EAAEC,SAAS,QAAQ,uBAAuB;AAC/D,SAASC,cAAc,QAAQ,wBAAwB;AAEvD,MAAM;EAAEC;AAAU,CAAC,GAAGH,YAAY;AAClC,MAAM;EAAEI;AAAe,CAAC,GAAGH,SAAS;AAEpC,MAAMI,OAAO,GAAG,IAAIN,YAAY,CAAC,2BAA2B,CAAC;AAE7DM,OAAO,CACJC,WAAW,CAAC,mBAAmB,CAAC,CAChCC,cAAc,CAAC,iCAAiC,EAAE,cAAc,CAAC,CACjEA,cAAc,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAClDC,MAAM,CAAC,6BAA6B,EAAE,qBAAqB,CAAC,CAC5DC,MAAM;AACL;AACA,OAAOC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,KAAK;EACvDA,OAAO,CAACC,wBAAwB,CAC9BN,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,OAAO,EACPC,OAAO,CACR;EACD,IAAI,MAAMZ,SAAS,EAAE,EAAE;IACrBD,cAAc,CAAC,sBAAsB,CAAC;IACtCE,cAAc,CAACU,OAAO,CAACG,UAAU,EAAEH,OAAO,CAACI,KAAK,EAAEJ,OAAO,CAACR,WAAW,CAAC;EACxE,CAAC,MAAM;IACLa,OAAO,CAACC,QAAQ,GAAG,CAAC;EACtB;AACF;AACA;AAAA,CACD;;AAEHf,OAAO,CAACgB,KAAK,EAAE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { printMessage } from '../../utils/Console.js';
|
|
1
|
+
import { FrodoCommand } from '../FrodoCommand';
|
|
2
|
+
import { Option } from 'commander';
|
|
3
|
+
import { Authenticate, Variables } from '@rockcarver/frodo-lib';
|
|
4
|
+
import { printMessage, verboseMessage } from '../../utils/Console.js';
|
|
5
5
|
const {
|
|
6
6
|
getTokens
|
|
7
7
|
} = Authenticate;
|
|
@@ -9,32 +9,26 @@ const {
|
|
|
9
9
|
deleteVariableCmd,
|
|
10
10
|
deleteVariablesCmd
|
|
11
11
|
} = Variables;
|
|
12
|
-
const program = new
|
|
13
|
-
program.description('Delete variables.').
|
|
12
|
+
const program = new FrodoCommand('frodo cmd sub2 delete');
|
|
13
|
+
program.description('Delete variables.').addOption(new Option('-i, --variable-id <variable-id>', 'Variable id. If specified, -a is ignored.')).addOption(new Option('-a, --all', 'Delete all variable in a realm. Ignored with -i.')).addOption(new Option('--no-deep', 'No deep delete. This leaves orphaned configuration artifacts behind.')).action(
|
|
14
14
|
// implement command logic inside action handler
|
|
15
|
-
async (host, realm, user, password, options) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
// unrecognized combination of options or no options
|
|
34
|
-
else {
|
|
35
|
-
printMessage('Unrecognized combination of options or no options...');
|
|
36
|
-
program.help();
|
|
37
|
-
}
|
|
15
|
+
async (host, realm, user, password, options, command) => {
|
|
16
|
+
command.handleDefaultArgsAndOpts(host, realm, user, password, options, command);
|
|
17
|
+
// delete by id
|
|
18
|
+
if (options.variableId && (await getTokens())) {
|
|
19
|
+
verboseMessage('Deleting variable...');
|
|
20
|
+
deleteVariableCmd(options.variableId);
|
|
21
|
+
}
|
|
22
|
+
// --all -a
|
|
23
|
+
else if (options.all && (await getTokens())) {
|
|
24
|
+
verboseMessage('Deleting all variables...');
|
|
25
|
+
deleteVariablesCmd();
|
|
26
|
+
}
|
|
27
|
+
// unrecognized combination of options or no options
|
|
28
|
+
else {
|
|
29
|
+
printMessage('Unrecognized combination of options or no options...');
|
|
30
|
+
program.help();
|
|
31
|
+
process.exitCode = 1;
|
|
38
32
|
}
|
|
39
33
|
}
|
|
40
34
|
// end command logic inside action handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv-variable-delete.js","names":["
|
|
1
|
+
{"version":3,"file":"esv-variable-delete.js","names":["FrodoCommand","Option","Authenticate","Variables","printMessage","verboseMessage","getTokens","deleteVariableCmd","deleteVariablesCmd","program","description","addOption","action","host","realm","user","password","options","command","handleDefaultArgsAndOpts","variableId","all","help","process","exitCode","parse"],"sources":["cli/esv/esv-variable-delete.ts"],"sourcesContent":["import { FrodoCommand } from '../FrodoCommand';\nimport { Option } from 'commander';\nimport { Authenticate, Variables } from '@rockcarver/frodo-lib';\nimport { printMessage, verboseMessage } from '../../utils/Console.js';\n\nconst { getTokens } = Authenticate;\nconst { deleteVariableCmd, deleteVariablesCmd } = Variables;\n\nconst program = new FrodoCommand('frodo cmd sub2 delete');\n\nprogram\n .description('Delete variables.')\n .addOption(\n new Option(\n '-i, --variable-id <variable-id>',\n 'Variable id. If specified, -a is ignored.'\n )\n )\n .addOption(\n new Option('-a, --all', 'Delete all variable in a realm. Ignored with -i.')\n )\n .addOption(\n new Option(\n '--no-deep',\n 'No deep delete. This leaves orphaned configuration artifacts behind.'\n )\n )\n .action(\n // implement command logic inside action handler\n async (host, realm, user, password, options, command) => {\n command.handleDefaultArgsAndOpts(\n host,\n realm,\n user,\n password,\n options,\n command\n );\n // delete by id\n if (options.variableId && (await getTokens())) {\n verboseMessage('Deleting variable...');\n deleteVariableCmd(options.variableId);\n }\n // --all -a\n else if (options.all && (await getTokens())) {\n verboseMessage('Deleting all variables...');\n deleteVariablesCmd();\n }\n // unrecognized combination of options or no options\n else {\n printMessage('Unrecognized combination of options or no options...');\n program.help();\n process.exitCode = 1;\n }\n }\n // end command logic inside action handler\n );\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,YAAY,EAAEC,SAAS,QAAQ,uBAAuB;AAC/D,SAASC,YAAY,EAAEC,cAAc,QAAQ,wBAAwB;AAErE,MAAM;EAAEC;AAAU,CAAC,GAAGJ,YAAY;AAClC,MAAM;EAAEK,iBAAiB;EAAEC;AAAmB,CAAC,GAAGL,SAAS;AAE3D,MAAMM,OAAO,GAAG,IAAIT,YAAY,CAAC,uBAAuB,CAAC;AAEzDS,OAAO,CACJC,WAAW,CAAC,mBAAmB,CAAC,CAChCC,SAAS,CACR,IAAIV,MAAM,CACR,iCAAiC,EACjC,2CAA2C,CAC5C,CACF,CACAU,SAAS,CACR,IAAIV,MAAM,CAAC,WAAW,EAAE,kDAAkD,CAAC,CAC5E,CACAU,SAAS,CACR,IAAIV,MAAM,CACR,WAAW,EACX,sEAAsE,CACvE,CACF,CACAW,MAAM;AACL;AACA,OAAOC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,KAAK;EACvDA,OAAO,CAACC,wBAAwB,CAC9BN,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,OAAO,EACPC,OAAO,CACR;EACD;EACA,IAAID,OAAO,CAACG,UAAU,KAAK,MAAMd,SAAS,EAAE,CAAC,EAAE;IAC7CD,cAAc,CAAC,sBAAsB,CAAC;IACtCE,iBAAiB,CAACU,OAAO,CAACG,UAAU,CAAC;EACvC;EACA;EAAA,KACK,IAAIH,OAAO,CAACI,GAAG,KAAK,MAAMf,SAAS,EAAE,CAAC,EAAE;IAC3CD,cAAc,CAAC,2BAA2B,CAAC;IAC3CG,kBAAkB,EAAE;EACtB;EACA;EAAA,KACK;IACHJ,YAAY,CAAC,sDAAsD,CAAC;IACpEK,OAAO,CAACa,IAAI,EAAE;IACdC,OAAO,CAACC,QAAQ,GAAG,CAAC;EACtB;AACF;AACA;AAAA,CACD;;AAEHf,OAAO,CAACgB,KAAK,EAAE"}
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { FrodoCommand } from '../FrodoCommand';
|
|
2
|
+
import { Option } from 'commander';
|
|
3
|
+
import { Authenticate, Variables } from '@rockcarver/frodo-lib';
|
|
4
|
+
import { verboseMessage } from '../../utils/Console.js';
|
|
5
5
|
const {
|
|
6
6
|
getTokens
|
|
7
7
|
} = Authenticate;
|
|
8
8
|
const {
|
|
9
9
|
describeVariable
|
|
10
10
|
} = Variables;
|
|
11
|
-
const program = new
|
|
12
|
-
program.description('Describe variables.').
|
|
11
|
+
const program = new FrodoCommand('frodo esv variable describe');
|
|
12
|
+
program.description('Describe variables.').addOption(new Option('-i, --variable-id <variable-id>', 'Variable id.').makeOptionMandatory()).action(
|
|
13
13
|
// implement command logic inside action handler
|
|
14
|
-
async (host, realm, user, password, options) => {
|
|
15
|
-
|
|
16
|
-
state.default.session.setRealm(realm);
|
|
17
|
-
state.default.session.setUsername(user);
|
|
18
|
-
state.default.session.setPassword(password);
|
|
19
|
-
state.default.session.setDeploymentType(options.type);
|
|
20
|
-
state.default.session.setAllowInsecureConnection(options.insecure);
|
|
14
|
+
async (host, realm, user, password, options, command) => {
|
|
15
|
+
command.handleDefaultArgsAndOpts(host, realm, user, password, options, command);
|
|
21
16
|
if (await getTokens()) {
|
|
22
|
-
|
|
17
|
+
verboseMessage(`Describing variable ${options.variableId}...`);
|
|
23
18
|
describeVariable(options.variableId);
|
|
19
|
+
} else {
|
|
20
|
+
process.exitCode = 1;
|
|
24
21
|
}
|
|
25
22
|
}
|
|
26
23
|
// end command logic inside action handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv-variable-describe.js","names":["
|
|
1
|
+
{"version":3,"file":"esv-variable-describe.js","names":["FrodoCommand","Option","Authenticate","Variables","verboseMessage","getTokens","describeVariable","program","description","addOption","makeOptionMandatory","action","host","realm","user","password","options","command","handleDefaultArgsAndOpts","variableId","process","exitCode","parse"],"sources":["cli/esv/esv-variable-describe.ts"],"sourcesContent":["import { FrodoCommand } from '../FrodoCommand';\nimport { Option } from 'commander';\nimport { Authenticate, Variables } from '@rockcarver/frodo-lib';\nimport { verboseMessage } from '../../utils/Console.js';\n\nconst { getTokens } = Authenticate;\nconst { describeVariable } = Variables;\n\nconst program = new FrodoCommand('frodo esv variable describe');\n\nprogram\n .description('Describe variables.')\n .addOption(\n new Option(\n '-i, --variable-id <variable-id>',\n 'Variable id.'\n ).makeOptionMandatory()\n )\n .action(\n // implement command logic inside action handler\n async (host, realm, user, password, options, command) => {\n command.handleDefaultArgsAndOpts(\n host,\n realm,\n user,\n password,\n options,\n command\n );\n if (await getTokens()) {\n verboseMessage(`Describing variable ${options.variableId}...`);\n describeVariable(options.variableId);\n } else {\n process.exitCode = 1;\n }\n }\n // end command logic inside action handler\n );\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,YAAY,EAAEC,SAAS,QAAQ,uBAAuB;AAC/D,SAASC,cAAc,QAAQ,wBAAwB;AAEvD,MAAM;EAAEC;AAAU,CAAC,GAAGH,YAAY;AAClC,MAAM;EAAEI;AAAiB,CAAC,GAAGH,SAAS;AAEtC,MAAMI,OAAO,GAAG,IAAIP,YAAY,CAAC,6BAA6B,CAAC;AAE/DO,OAAO,CACJC,WAAW,CAAC,qBAAqB,CAAC,CAClCC,SAAS,CACR,IAAIR,MAAM,CACR,iCAAiC,EACjC,cAAc,CACf,CAACS,mBAAmB,EAAE,CACxB,CACAC,MAAM;AACL;AACA,OAAOC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,KAAK;EACvDA,OAAO,CAACC,wBAAwB,CAC9BN,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,OAAO,EACPC,OAAO,CACR;EACD,IAAI,MAAMZ,SAAS,EAAE,EAAE;IACrBD,cAAc,CAAE,uBAAsBY,OAAO,CAACG,UAAW,KAAI,CAAC;IAC9Db,gBAAgB,CAACU,OAAO,CAACG,UAAU,CAAC;EACtC,CAAC,MAAM;IACLC,OAAO,CAACC,QAAQ,GAAG,CAAC;EACtB;AACF;AACA;AAAA,CACD;;AAEHd,OAAO,CAACe,KAAK,EAAE"}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { FrodoCommand } from '../FrodoCommand';
|
|
2
|
+
import { Option } from 'commander';
|
|
3
|
+
import { Authenticate } from '@rockcarver/frodo-lib';
|
|
4
4
|
const {
|
|
5
5
|
getTokens
|
|
6
6
|
} = Authenticate;
|
|
7
|
-
const program = new
|
|
8
|
-
program.description('Export variables.').
|
|
7
|
+
const program = new FrodoCommand('frodo esv variable export');
|
|
8
|
+
program.description('Export variables.').addOption(new Option('-i, --variable-id <variable-id>', 'Variable id. If specified, -a and -A are ignored.')).addOption(new Option('-f, --file <file>', 'Name of the export file.')).addOption(new Option('-a, --all', 'Export all variables to a single file. Ignored with -i.')).addOption(new Option('-A, --all-separate', 'Export all variables to separate files (*.variable.json) in the current directory. Ignored with -i or -a.')).action(
|
|
9
9
|
// implement command logic inside action handler
|
|
10
|
-
async (host, realm, user, password, options) => {
|
|
11
|
-
|
|
12
|
-
state.default.session.setRealm(realm);
|
|
13
|
-
state.default.session.setUsername(user);
|
|
14
|
-
state.default.session.setPassword(password);
|
|
15
|
-
state.default.session.setDeploymentType(options.type);
|
|
16
|
-
state.default.session.setAllowInsecureConnection(options.insecure);
|
|
10
|
+
async (host, realm, user, password, options, command) => {
|
|
11
|
+
command.handleDefaultArgsAndOpts(host, realm, user, password, options, command);
|
|
17
12
|
if (await getTokens()) {
|
|
18
13
|
// code goes here
|
|
14
|
+
} else {
|
|
15
|
+
process.exitCode = 1;
|
|
19
16
|
}
|
|
20
17
|
}
|
|
21
18
|
// end command logic inside action handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv-variable-export.js","names":["
|
|
1
|
+
{"version":3,"file":"esv-variable-export.js","names":["FrodoCommand","Option","Authenticate","getTokens","program","description","addOption","action","host","realm","user","password","options","command","handleDefaultArgsAndOpts","process","exitCode","parse"],"sources":["cli/esv/esv-variable-export.ts"],"sourcesContent":["import { FrodoCommand } from '../FrodoCommand';\nimport { Option } from 'commander';\nimport { Authenticate } from '@rockcarver/frodo-lib';\n\nconst { getTokens } = Authenticate;\n\nconst program = new FrodoCommand('frodo esv variable export');\n\nprogram\n .description('Export variables.')\n .addOption(\n new Option(\n '-i, --variable-id <variable-id>',\n 'Variable id. If specified, -a and -A are ignored.'\n )\n )\n .addOption(new Option('-f, --file <file>', 'Name of the export file.'))\n .addOption(\n new Option(\n '-a, --all',\n 'Export all variables to a single file. Ignored with -i.'\n )\n )\n .addOption(\n new Option(\n '-A, --all-separate',\n 'Export all variables to separate files (*.variable.json) in the current directory. Ignored with -i or -a.'\n )\n )\n .action(\n // implement command logic inside action handler\n async (host, realm, user, password, options, command) => {\n command.handleDefaultArgsAndOpts(\n host,\n realm,\n user,\n password,\n options,\n command\n );\n if (await getTokens()) {\n // code goes here\n } else {\n process.exitCode = 1;\n }\n }\n // end command logic inside action handler\n );\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,YAAY,QAAQ,uBAAuB;AAEpD,MAAM;EAAEC;AAAU,CAAC,GAAGD,YAAY;AAElC,MAAME,OAAO,GAAG,IAAIJ,YAAY,CAAC,2BAA2B,CAAC;AAE7DI,OAAO,CACJC,WAAW,CAAC,mBAAmB,CAAC,CAChCC,SAAS,CACR,IAAIL,MAAM,CACR,iCAAiC,EACjC,mDAAmD,CACpD,CACF,CACAK,SAAS,CAAC,IAAIL,MAAM,CAAC,mBAAmB,EAAE,0BAA0B,CAAC,CAAC,CACtEK,SAAS,CACR,IAAIL,MAAM,CACR,WAAW,EACX,yDAAyD,CAC1D,CACF,CACAK,SAAS,CACR,IAAIL,MAAM,CACR,oBAAoB,EACpB,2GAA2G,CAC5G,CACF,CACAM,MAAM;AACL;AACA,OAAOC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,KAAK;EACvDA,OAAO,CAACC,wBAAwB,CAC9BN,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,OAAO,EACPC,OAAO,CACR;EACD,IAAI,MAAMV,SAAS,EAAE,EAAE;IACrB;EAAA,CACD,MAAM;IACLY,OAAO,CAACC,QAAQ,GAAG,CAAC;EACtB;AACF;AACA;AAAA,CACD;;AAEHZ,OAAO,CAACa,KAAK,EAAE"}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { FrodoCommand } from '../FrodoCommand';
|
|
2
|
+
import { Option } from 'commander';
|
|
3
|
+
import { Authenticate } from '@rockcarver/frodo-lib';
|
|
4
4
|
const {
|
|
5
5
|
getTokens
|
|
6
6
|
} = Authenticate;
|
|
7
|
-
const program = new
|
|
8
|
-
program.description('Import variables.').
|
|
7
|
+
const program = new FrodoCommand('frodo esv variable import');
|
|
8
|
+
program.description('Import variables.').addOption(new Option('-i, --variable-id <variable-id>', 'Variable id. If specified, only one variable is imported and the options -a and -A are ignored.')).addOption(new Option('-f, --file <file>', 'Name of the file to import.')).addOption(new Option('-a, --all', 'Import all variables from single file. Ignored with -i.')).addOption(new Option('-A, --all-separate', 'Import all variables from separate files (*.variable.json) in the current directory. Ignored with -i or -a.')).action(
|
|
9
9
|
// implement command logic inside action handler
|
|
10
|
-
async (host, realm, user, password, options) => {
|
|
11
|
-
|
|
12
|
-
state.default.session.setRealm(realm);
|
|
13
|
-
state.default.session.setUsername(user);
|
|
14
|
-
state.default.session.setPassword(password);
|
|
15
|
-
state.default.session.setDeploymentType(options.type);
|
|
16
|
-
state.default.session.setAllowInsecureConnection(options.insecure);
|
|
10
|
+
async (host, realm, user, password, options, command) => {
|
|
11
|
+
command.handleDefaultArgsAndOpts(host, realm, user, password, options, command);
|
|
17
12
|
if (await getTokens()) {
|
|
18
13
|
// code goes here
|
|
14
|
+
} else {
|
|
15
|
+
process.exitCode = 1;
|
|
19
16
|
}
|
|
20
17
|
}
|
|
21
18
|
// end command logic inside action handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv-variable-import.js","names":["
|
|
1
|
+
{"version":3,"file":"esv-variable-import.js","names":["FrodoCommand","Option","Authenticate","getTokens","program","description","addOption","action","host","realm","user","password","options","command","handleDefaultArgsAndOpts","process","exitCode","parse"],"sources":["cli/esv/esv-variable-import.ts"],"sourcesContent":["import { FrodoCommand } from '../FrodoCommand';\nimport { Option } from 'commander';\nimport { Authenticate } from '@rockcarver/frodo-lib';\n\nconst { getTokens } = Authenticate;\n\nconst program = new FrodoCommand('frodo esv variable import');\n\nprogram\n .description('Import variables.')\n .addOption(\n new Option(\n '-i, --variable-id <variable-id>',\n 'Variable id. If specified, only one variable is imported and the options -a and -A are ignored.'\n )\n )\n .addOption(new Option('-f, --file <file>', 'Name of the file to import.'))\n .addOption(\n new Option(\n '-a, --all',\n 'Import all variables from single file. Ignored with -i.'\n )\n )\n .addOption(\n new Option(\n '-A, --all-separate',\n 'Import all variables from separate files (*.variable.json) in the current directory. Ignored with -i or -a.'\n )\n )\n .action(\n // implement command logic inside action handler\n async (host, realm, user, password, options, command) => {\n command.handleDefaultArgsAndOpts(\n host,\n realm,\n user,\n password,\n options,\n command\n );\n if (await getTokens()) {\n // code goes here\n } else {\n process.exitCode = 1;\n }\n }\n // end command logic inside action handler\n );\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,YAAY,QAAQ,uBAAuB;AAEpD,MAAM;EAAEC;AAAU,CAAC,GAAGD,YAAY;AAElC,MAAME,OAAO,GAAG,IAAIJ,YAAY,CAAC,2BAA2B,CAAC;AAE7DI,OAAO,CACJC,WAAW,CAAC,mBAAmB,CAAC,CAChCC,SAAS,CACR,IAAIL,MAAM,CACR,iCAAiC,EACjC,iGAAiG,CAClG,CACF,CACAK,SAAS,CAAC,IAAIL,MAAM,CAAC,mBAAmB,EAAE,6BAA6B,CAAC,CAAC,CACzEK,SAAS,CACR,IAAIL,MAAM,CACR,WAAW,EACX,yDAAyD,CAC1D,CACF,CACAK,SAAS,CACR,IAAIL,MAAM,CACR,oBAAoB,EACpB,6GAA6G,CAC9G,CACF,CACAM,MAAM;AACL;AACA,OAAOC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,KAAK;EACvDA,OAAO,CAACC,wBAAwB,CAC9BN,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,OAAO,EACPC,OAAO,CACR;EACD,IAAI,MAAMV,SAAS,EAAE,EAAE;IACrB;EAAA,CACD,MAAM;IACLY,OAAO,CAACC,QAAQ,GAAG,CAAC;EACtB;AACF;AACA;AAAA,CACD;;AAEHZ,OAAO,CAACa,KAAK,EAAE"}
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { FrodoCommand } from '../FrodoCommand';
|
|
2
|
+
import { Option } from 'commander';
|
|
3
|
+
import { Authenticate, Variables } from '@rockcarver/frodo-lib';
|
|
4
|
+
import { verboseMessage } from '../../utils/Console.js';
|
|
5
5
|
const {
|
|
6
6
|
getTokens
|
|
7
7
|
} = Authenticate;
|
|
8
8
|
const {
|
|
9
9
|
listVariables
|
|
10
10
|
} = Variables;
|
|
11
|
-
const program = new
|
|
12
|
-
program.description('List variables.').
|
|
11
|
+
const program = new FrodoCommand('frodo esv variable list');
|
|
12
|
+
program.description('List variables.').addOption(new Option('-l, --long', 'Long with all fields.').default(false, 'false')).action(
|
|
13
13
|
// implement command logic inside action handler
|
|
14
|
-
async (host, realm, user, password, options) => {
|
|
15
|
-
|
|
16
|
-
state.default.session.setRealm(realm);
|
|
17
|
-
state.default.session.setUsername(user);
|
|
18
|
-
state.default.session.setPassword(password);
|
|
19
|
-
state.default.session.setDeploymentType(options.type);
|
|
20
|
-
state.default.session.setAllowInsecureConnection(options.insecure);
|
|
14
|
+
async (host, realm, user, password, options, command) => {
|
|
15
|
+
command.handleDefaultArgsAndOpts(host, realm, user, password, options, command);
|
|
21
16
|
if (await getTokens()) {
|
|
22
|
-
|
|
17
|
+
verboseMessage('Listing variables...');
|
|
23
18
|
listVariables(options.long);
|
|
19
|
+
} else {
|
|
20
|
+
process.exitCode = 1;
|
|
24
21
|
}
|
|
25
22
|
}
|
|
26
23
|
// end command logic inside action handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv-variable-list.js","names":["
|
|
1
|
+
{"version":3,"file":"esv-variable-list.js","names":["FrodoCommand","Option","Authenticate","Variables","verboseMessage","getTokens","listVariables","program","description","addOption","default","action","host","realm","user","password","options","command","handleDefaultArgsAndOpts","long","process","exitCode","parse"],"sources":["cli/esv/esv-variable-list.ts"],"sourcesContent":["import { FrodoCommand } from '../FrodoCommand';\nimport { Option } from 'commander';\nimport { Authenticate, Variables } from '@rockcarver/frodo-lib';\nimport { verboseMessage } from '../../utils/Console.js';\n\nconst { getTokens } = Authenticate;\nconst { listVariables } = Variables;\n\nconst program = new FrodoCommand('frodo esv variable list');\n\nprogram\n .description('List variables.')\n .addOption(\n new Option('-l, --long', 'Long with all fields.').default(false, 'false')\n )\n .action(\n // implement command logic inside action handler\n async (host, realm, user, password, options, command) => {\n command.handleDefaultArgsAndOpts(\n host,\n realm,\n user,\n password,\n options,\n command\n );\n if (await getTokens()) {\n verboseMessage('Listing variables...');\n listVariables(options.long);\n } else {\n process.exitCode = 1;\n }\n }\n // end command logic inside action handler\n );\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,YAAY,EAAEC,SAAS,QAAQ,uBAAuB;AAC/D,SAASC,cAAc,QAAQ,wBAAwB;AAEvD,MAAM;EAAEC;AAAU,CAAC,GAAGH,YAAY;AAClC,MAAM;EAAEI;AAAc,CAAC,GAAGH,SAAS;AAEnC,MAAMI,OAAO,GAAG,IAAIP,YAAY,CAAC,yBAAyB,CAAC;AAE3DO,OAAO,CACJC,WAAW,CAAC,iBAAiB,CAAC,CAC9BC,SAAS,CACR,IAAIR,MAAM,CAAC,YAAY,EAAE,uBAAuB,CAAC,CAACS,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAC1E,CACAC,MAAM;AACL;AACA,OAAOC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,KAAK;EACvDA,OAAO,CAACC,wBAAwB,CAC9BN,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,OAAO,EACPC,OAAO,CACR;EACD,IAAI,MAAMZ,SAAS,EAAE,EAAE;IACrBD,cAAc,CAAC,sBAAsB,CAAC;IACtCE,aAAa,CAACU,OAAO,CAACG,IAAI,CAAC;EAC7B,CAAC,MAAM;IACLC,OAAO,CAACC,QAAQ,GAAG,CAAC;EACtB;AACF;AACA;AAAA,CACD;;AAEHd,OAAO,CAACe,KAAK,EAAE"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Authenticate, Variables
|
|
3
|
-
import
|
|
4
|
-
import { printMessage } from '../../utils/Console.js';
|
|
1
|
+
import { FrodoCommand } from '../FrodoCommand';
|
|
2
|
+
import { Authenticate, Variables } from '@rockcarver/frodo-lib';
|
|
3
|
+
import { printMessage, verboseMessage } from '../../utils/Console.js';
|
|
5
4
|
const {
|
|
6
5
|
getTokens
|
|
7
6
|
} = Authenticate;
|
|
@@ -9,29 +8,23 @@ const {
|
|
|
9
8
|
setDescriptionOfVariable,
|
|
10
9
|
updateVariable
|
|
11
10
|
} = Variables;
|
|
12
|
-
const program = new
|
|
13
|
-
program.description('
|
|
11
|
+
const program = new FrodoCommand('frodo esv variable set');
|
|
12
|
+
program.description('Set variable description.').requiredOption('-i, --variable-id <variable-id>', 'Variable id.').option('--value [value]', 'Variable value.').option('--description [description]', 'Variable description.').action(
|
|
14
13
|
// implement command logic inside action handler
|
|
15
|
-
async (host, realm, user, password, options) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
// unrecognized combination of options or no options
|
|
31
|
-
else {
|
|
32
|
-
printMessage('Provide --variable-id and either one or both of --value and --description.');
|
|
33
|
-
program.help();
|
|
34
|
-
}
|
|
14
|
+
async (host, realm, user, password, options, command) => {
|
|
15
|
+
command.handleDefaultArgsAndOpts(host, realm, user, password, options, command);
|
|
16
|
+
if (options.variableId && options.value && options.description && (await getTokens())) {
|
|
17
|
+
verboseMessage('Updating variable...');
|
|
18
|
+
updateVariable(options.variableId, options.value, options.description);
|
|
19
|
+
} else if (options.variableId && options.description && (await getTokens())) {
|
|
20
|
+
verboseMessage('Updating variable...');
|
|
21
|
+
setDescriptionOfVariable(options.variableId, options.description);
|
|
22
|
+
}
|
|
23
|
+
// unrecognized combination of options or no options
|
|
24
|
+
else {
|
|
25
|
+
printMessage('Provide --variable-id and either one or both of --value and --description.');
|
|
26
|
+
program.help();
|
|
27
|
+
process.exitCode = 1;
|
|
35
28
|
}
|
|
36
29
|
}
|
|
37
30
|
// end command logic inside action handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv-variable-set.js","names":["
|
|
1
|
+
{"version":3,"file":"esv-variable-set.js","names":["FrodoCommand","Authenticate","Variables","printMessage","verboseMessage","getTokens","setDescriptionOfVariable","updateVariable","program","description","requiredOption","option","action","host","realm","user","password","options","command","handleDefaultArgsAndOpts","variableId","value","help","process","exitCode","parse"],"sources":["cli/esv/esv-variable-set.ts"],"sourcesContent":["import { FrodoCommand } from '../FrodoCommand';\nimport { Authenticate, Variables } from '@rockcarver/frodo-lib';\nimport { printMessage, verboseMessage } from '../../utils/Console.js';\n\nconst { getTokens } = Authenticate;\nconst { setDescriptionOfVariable, updateVariable } = Variables;\n\nconst program = new FrodoCommand('frodo esv variable set');\n\nprogram\n .description('Set variable description.')\n .requiredOption('-i, --variable-id <variable-id>', 'Variable id.')\n .option('--value [value]', 'Variable value.')\n .option('--description [description]', 'Variable description.')\n .action(\n // implement command logic inside action handler\n async (host, realm, user, password, options, command) => {\n command.handleDefaultArgsAndOpts(\n host,\n realm,\n user,\n password,\n options,\n command\n );\n if (\n options.variableId &&\n options.value &&\n options.description &&\n (await getTokens())\n ) {\n verboseMessage('Updating variable...');\n updateVariable(options.variableId, options.value, options.description);\n } else if (\n options.variableId &&\n options.description &&\n (await getTokens())\n ) {\n verboseMessage('Updating variable...');\n setDescriptionOfVariable(options.variableId, options.description);\n }\n // unrecognized combination of options or no options\n else {\n printMessage(\n 'Provide --variable-id and either one or both of --value and --description.'\n );\n program.help();\n process.exitCode = 1;\n }\n }\n // end command logic inside action handler\n );\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,YAAY,EAAEC,SAAS,QAAQ,uBAAuB;AAC/D,SAASC,YAAY,EAAEC,cAAc,QAAQ,wBAAwB;AAErE,MAAM;EAAEC;AAAU,CAAC,GAAGJ,YAAY;AAClC,MAAM;EAAEK,wBAAwB;EAAEC;AAAe,CAAC,GAAGL,SAAS;AAE9D,MAAMM,OAAO,GAAG,IAAIR,YAAY,CAAC,wBAAwB,CAAC;AAE1DQ,OAAO,CACJC,WAAW,CAAC,2BAA2B,CAAC,CACxCC,cAAc,CAAC,iCAAiC,EAAE,cAAc,CAAC,CACjEC,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAC5CA,MAAM,CAAC,6BAA6B,EAAE,uBAAuB,CAAC,CAC9DC,MAAM;AACL;AACA,OAAOC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,KAAK;EACvDA,OAAO,CAACC,wBAAwB,CAC9BN,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,OAAO,EACPC,OAAO,CACR;EACD,IACED,OAAO,CAACG,UAAU,IAClBH,OAAO,CAACI,KAAK,IACbJ,OAAO,CAACR,WAAW,KAClB,MAAMJ,SAAS,EAAE,CAAC,EACnB;IACAD,cAAc,CAAC,sBAAsB,CAAC;IACtCG,cAAc,CAACU,OAAO,CAACG,UAAU,EAAEH,OAAO,CAACI,KAAK,EAAEJ,OAAO,CAACR,WAAW,CAAC;EACxE,CAAC,MAAM,IACLQ,OAAO,CAACG,UAAU,IAClBH,OAAO,CAACR,WAAW,KAClB,MAAMJ,SAAS,EAAE,CAAC,EACnB;IACAD,cAAc,CAAC,sBAAsB,CAAC;IACtCE,wBAAwB,CAACW,OAAO,CAACG,UAAU,EAAEH,OAAO,CAACR,WAAW,CAAC;EACnE;EACA;EAAA,KACK;IACHN,YAAY,CACV,4EAA4E,CAC7E;IACDK,OAAO,CAACc,IAAI,EAAE;IACdC,OAAO,CAACC,QAAQ,GAAG,CAAC;EACtB;AACF;AACA;AAAA,CACD;;AAEHhB,OAAO,CAACiB,KAAK,EAAE"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const program = new
|
|
3
|
-
program.description('Manage variables.')
|
|
4
|
-
program.command('create', 'Create variables.')
|
|
5
|
-
program.command('delete', 'Delete variables.')
|
|
6
|
-
program.command('describe', 'Describe variables.')
|
|
1
|
+
import { FrodoStubCommand } from '../FrodoCommand';
|
|
2
|
+
const program = new FrodoStubCommand('frodo esv variable');
|
|
3
|
+
program.description('Manage variables.');
|
|
4
|
+
program.command('create', 'Create variables.');
|
|
5
|
+
program.command('delete', 'Delete variables.');
|
|
6
|
+
program.command('describe', 'Describe variables.');
|
|
7
7
|
|
|
8
|
-
// program.command('export', 'Export variables.')
|
|
8
|
+
// program.command('export', 'Export variables.');
|
|
9
9
|
|
|
10
|
-
// program.command('import', 'Import variables.')
|
|
10
|
+
// program.command('import', 'Import variables.');
|
|
11
11
|
|
|
12
|
-
program.command('list', 'List variables.')
|
|
13
|
-
program.command('set', 'Set variable descriptions.')
|
|
12
|
+
program.command('list', 'List variables.');
|
|
13
|
+
program.command('set', 'Set variable descriptions.');
|
|
14
14
|
program.parse();
|
|
15
15
|
//# sourceMappingURL=esv-variable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv-variable.js","names":["
|
|
1
|
+
{"version":3,"file":"esv-variable.js","names":["FrodoStubCommand","program","description","command","parse"],"sources":["cli/esv/esv-variable.ts"],"sourcesContent":["import { FrodoStubCommand } from '../FrodoCommand';\n\nconst program = new FrodoStubCommand('frodo esv variable');\n\nprogram.description('Manage variables.');\n\nprogram.command('create', 'Create variables.');\n\nprogram.command('delete', 'Delete variables.');\n\nprogram.command('describe', 'Describe variables.');\n\n// program.command('export', 'Export variables.');\n\n// program.command('import', 'Import variables.');\n\nprogram.command('list', 'List variables.');\n\nprogram.command('set', 'Set variable descriptions.');\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,iBAAiB;AAElD,MAAMC,OAAO,GAAG,IAAID,gBAAgB,CAAC,oBAAoB,CAAC;AAE1DC,OAAO,CAACC,WAAW,CAAC,mBAAmB,CAAC;AAExCD,OAAO,CAACE,OAAO,CAAC,QAAQ,EAAE,mBAAmB,CAAC;AAE9CF,OAAO,CAACE,OAAO,CAAC,QAAQ,EAAE,mBAAmB,CAAC;AAE9CF,OAAO,CAACE,OAAO,CAAC,UAAU,EAAE,qBAAqB,CAAC;;AAElD;;AAEA;;AAEAF,OAAO,CAACE,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC;AAE1CF,OAAO,CAACE,OAAO,CAAC,KAAK,EAAE,4BAA4B,CAAC;AAEpDF,OAAO,CAACG,KAAK,EAAE"}
|
package/esm/cli/esv/esv.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FrodoStubCommand } from '../FrodoCommand';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import { fileURLToPath } from 'url';
|
|
4
4
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
5
5
|
export default function setup() {
|
|
6
|
-
const program = new
|
|
7
|
-
program.command('apply', 'Apply pending changes.')
|
|
8
|
-
program.command('secret', 'Manage secrets.')
|
|
9
|
-
program.command('variable', 'Manage variables.')
|
|
10
|
-
program.showHelpAfterError();
|
|
6
|
+
const program = new FrodoStubCommand('esv').description('Manage environment secrets and variables (ESVs).').executableDir(__dirname);
|
|
7
|
+
program.command('apply', 'Apply pending changes.');
|
|
8
|
+
program.command('secret', 'Manage secrets.');
|
|
9
|
+
program.command('variable', 'Manage variables.');
|
|
11
10
|
return program;
|
|
12
11
|
}
|
|
13
12
|
//# sourceMappingURL=esv.js.map
|
package/esm/cli/esv/esv.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esv.js","names":["
|
|
1
|
+
{"version":3,"file":"esv.js","names":["FrodoStubCommand","path","fileURLToPath","__dirname","dirname","import","meta","url","setup","program","description","executableDir","command"],"sources":["cli/esv/esv.ts"],"sourcesContent":["import { FrodoStubCommand } from '../FrodoCommand';\nimport path from 'path';\nimport { fileURLToPath } from 'url';\n\nconst __dirname = path.dirname(fileURLToPath(import.meta.url));\n\nexport default function setup() {\n const program = new FrodoStubCommand('esv')\n .description('Manage environment secrets and variables (ESVs).')\n .executableDir(__dirname);\n\n program.command('apply', 'Apply pending changes.');\n\n program.command('secret', 'Manage secrets.');\n\n program.command('variable', 'Manage variables.');\n\n return program;\n}\n"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,iBAAiB;AAClD,OAAOC,IAAI,MAAM,MAAM;AACvB,SAASC,aAAa,QAAQ,KAAK;AAEnC,MAAMC,SAAS,GAAGF,IAAI,CAACG,OAAO,CAACF,aAAa,CAACG,MAAM,CAACC,IAAI,CAACC,GAAG,CAAC,CAAC;AAE9D,eAAe,SAASC,KAAK,GAAG;EAC9B,MAAMC,OAAO,GAAG,IAAIT,gBAAgB,CAAC,KAAK,CAAC,CACxCU,WAAW,CAAC,kDAAkD,CAAC,CAC/DC,aAAa,CAACR,SAAS,CAAC;EAE3BM,OAAO,CAACG,OAAO,CAAC,OAAO,EAAE,wBAAwB,CAAC;EAElDH,OAAO,CAACG,OAAO,CAAC,QAAQ,EAAE,iBAAiB,CAAC;EAE5CH,OAAO,CAACG,OAAO,CAAC,UAAU,EAAE,mBAAmB,CAAC;EAEhD,OAAOH,OAAO;AAChB"}
|
package/esm/cli/idm/idm-count.js
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { FrodoCommand } from '../FrodoCommand';
|
|
2
|
+
import { Option } from 'commander';
|
|
3
|
+
import { Authenticate } from '@rockcarver/frodo-lib';
|
|
4
|
+
import { verboseMessage } from '../../utils/Console';
|
|
5
|
+
import { countManagedObjects } from '../../ops/IdmOps';
|
|
5
6
|
const {
|
|
6
7
|
getTokens
|
|
7
8
|
} = Authenticate;
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
} = Idm;
|
|
11
|
-
const program = new Command('frodo idm count');
|
|
12
|
-
program.description('Count managed objects.').helpOption('-h, --help', 'Help').showHelpAfterError().addArgument(common.hostArgumentM).addArgument(common.realmArgument).addArgument(common.userArgument).addArgument(common.passwordArgument).addOption(common.insecureOption).addOption(new Option('-m, --managed-object <type>', 'Type of managed object to count. E.g. "alpha_user", "alpha_role", "user", "role".')).action(
|
|
9
|
+
const program = new FrodoCommand('frodo idm count');
|
|
10
|
+
program.description('Count managed objects.').addOption(new Option('-m, --managed-object <type>', 'Type of managed object to count. E.g. "alpha_user", "alpha_role", "user", "role".')).action(
|
|
13
11
|
// implement command logic inside action handler
|
|
14
|
-
async (host, realm, user, password, options) => {
|
|
15
|
-
|
|
16
|
-
state.default.session.setRealm(realm);
|
|
17
|
-
state.default.session.setUsername(user);
|
|
18
|
-
state.default.session.setPassword(password);
|
|
19
|
-
state.default.session.setDeploymentType(options.type);
|
|
20
|
-
state.default.session.setAllowInsecureConnection(options.insecure);
|
|
12
|
+
async (host, realm, user, password, options, command) => {
|
|
13
|
+
command.handleDefaultArgsAndOpts(host, realm, user, password, options, command);
|
|
21
14
|
if (await getTokens()) {
|
|
22
|
-
|
|
15
|
+
verboseMessage(`Counting managed ${options.managedObject} objects...`);
|
|
23
16
|
countManagedObjects(options.managedObject);
|
|
17
|
+
} else {
|
|
18
|
+
process.exitCode = 1;
|
|
24
19
|
}
|
|
25
20
|
}
|
|
26
21
|
// end command logic inside action handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idm-count.js","names":["
|
|
1
|
+
{"version":3,"file":"idm-count.js","names":["FrodoCommand","Option","Authenticate","verboseMessage","countManagedObjects","getTokens","program","description","addOption","action","host","realm","user","password","options","command","handleDefaultArgsAndOpts","managedObject","process","exitCode","parse"],"sources":["cli/idm/idm-count.ts"],"sourcesContent":["import { FrodoCommand } from '../FrodoCommand';\nimport { Option } from 'commander';\nimport { Authenticate } from '@rockcarver/frodo-lib';\nimport { verboseMessage } from '../../utils/Console';\nimport { countManagedObjects } from '../../ops/IdmOps';\n\nconst { getTokens } = Authenticate;\n\nconst program = new FrodoCommand('frodo idm count');\n\nprogram\n .description('Count managed objects.')\n .addOption(\n new Option(\n '-m, --managed-object <type>',\n 'Type of managed object to count. E.g. \"alpha_user\", \"alpha_role\", \"user\", \"role\".'\n )\n )\n .action(\n // implement command logic inside action handler\n async (host, realm, user, password, options, command) => {\n command.handleDefaultArgsAndOpts(\n host,\n realm,\n user,\n password,\n options,\n command\n );\n if (await getTokens()) {\n verboseMessage(`Counting managed ${options.managedObject} objects...`);\n countManagedObjects(options.managedObject);\n } else {\n process.exitCode = 1;\n }\n }\n // end command logic inside action handler\n );\n\nprogram.parse();\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,YAAY,QAAQ,uBAAuB;AACpD,SAASC,cAAc,QAAQ,qBAAqB;AACpD,SAASC,mBAAmB,QAAQ,kBAAkB;AAEtD,MAAM;EAAEC;AAAU,CAAC,GAAGH,YAAY;AAElC,MAAMI,OAAO,GAAG,IAAIN,YAAY,CAAC,iBAAiB,CAAC;AAEnDM,OAAO,CACJC,WAAW,CAAC,wBAAwB,CAAC,CACrCC,SAAS,CACR,IAAIP,MAAM,CACR,6BAA6B,EAC7B,mFAAmF,CACpF,CACF,CACAQ,MAAM;AACL;AACA,OAAOC,IAAI,EAAEC,KAAK,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,OAAO,EAAEC,OAAO,KAAK;EACvDA,OAAO,CAACC,wBAAwB,CAC9BN,IAAI,EACJC,KAAK,EACLC,IAAI,EACJC,QAAQ,EACRC,OAAO,EACPC,OAAO,CACR;EACD,IAAI,MAAMV,SAAS,EAAE,EAAE;IACrBF,cAAc,CAAE,oBAAmBW,OAAO,CAACG,aAAc,aAAY,CAAC;IACtEb,mBAAmB,CAACU,OAAO,CAACG,aAAa,CAAC;EAC5C,CAAC,MAAM;IACLC,OAAO,CAACC,QAAQ,GAAG,CAAC;EACtB;AACF;AACA;AAAA,CACD;;AAEHb,OAAO,CAACc,KAAK,EAAE"}
|