app security clean
Deletes the local results of an app security check for the selected app configuration, without asking, and prints each path that it removes. Results for other app configurations are left alone.
To select the same results that the check wrote, pass the same --path, --config, --client-id, and --without-app-config flags that you passed to app security check. To delete the results for every app configuration, pass --all instead of --config or --client-id.
Anchor to flagsFlags
The following flags are available for the app security clean command:
- Anchor to --all--all--all
Delete every results directory under .shopify/app-security/, not only the selected one.
- Anchor to --client-id <value>--client-id <value>--client-id <value>stringstringenv: SHOPIFY_FLAG_CLIENT_IDenv: SHOPIFY_FLAG_CLIENT_ID
The Client ID of your app.
- Anchor to --json-schema--json-schema--json-schemaenv: SHOPIFY_FLAG_JSON_SCHEMAenv: SHOPIFY_FLAG_JSON_SCHEMA
Print the command's JSON schemas.
- Anchor to --no-color--no-color--no-colorenv: SHOPIFY_FLAG_NO_COLORenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --no-input--no-input--no-inputenv: SHOPIFY_FLAG_NO_INPUTenv: SHOPIFY_FLAG_NO_INPUT
Disable interactive prompts and browser authentication.
- Anchor to --path <value>--path <value>--path <value>stringstringenv: SHOPIFY_FLAG_PATHenv: SHOPIFY_FLAG_PATH
The path to your app directory.
- Anchor to --verbose--verbose--verboseenv: SHOPIFY_FLAG_VERBOSEenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output. May include sensitive data.
- Anchor to --without-app-config--without-app-config--without-app-configenv: SHOPIFY_FLAG_WITHOUT_APP_CONFIGenv: SHOPIFY_FLAG_WITHOUT_APP_CONFIG
Scan --path as an app with no app configuration file. Config checks are skipped. Requires --client-id.
- Anchor to -c, --config <value>-c, --config <value>-c, --config <value>stringstringenv: SHOPIFY_FLAG_APP_CONFIGenv: SHOPIFY_FLAG_APP_CONFIG
The name of the app configuration.
app security clean
Examples
App security clean
app security clean
shopify app security cleanDelete all results
Description
Pass `--all` to delete the results for every app configuration, not only the selected one.
app security clean --all
shopify app security clean --all