Skip to content

Commit

Permalink
Add more examples to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Nov 13, 2024
1 parent 89f5a49 commit bf9913a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/Importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bf9913a

Please sign in to comment.