diff --git a/README.md b/README.md index 4f7144e..2f08163 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,20 @@ npx @11ty/import [type] [target] # Dry run (don’t write files) npx @11ty/import [type] [target] --dryrun -# Quietly (limit of console output) +# Quietly (limit console output) npx @11ty/import [type] [target] --quiet -# Change the output folder +# Change the output folder (default: ".") npx @11ty/import [type] [target] --output=dist -# Allow overwriting existing content files +# Allow overwriting existing files npx @11ty/import [type] [target] --overwrite + +# Change local fetch cache duration (default: 4h) +npx @11ty/import [type] [target] --cacheduration=20m + +# Change output format (default: markdown) +npx @11ty/import [type] [target] --format=html ``` ### Service Types diff --git a/src/Importer.js b/src/Importer.js index 18b8aaf..a6de598 100644 --- a/src/Importer.js +++ b/src/Importer.js @@ -17,6 +17,7 @@ import { WordPressApi } from "./DataSource/WordPressApi.js"; import { BlueskyUser } from "./DataSource/BlueskyUser.js"; import { FediverseUser } from "./DataSource/FediverseUser.js"; +// For testing const MAX_IMPORT_SIZE = 0; class Importer {