diff --git a/README.md b/README.md index 4cbfac7..489a33d 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ Options: -v, --version Display program version -o, --output [path] Output directory -f, --force Force creation of output directory + -O, --open Open output folders when finished + -uf, --unifolder Downloads the contents in the parent folder, instead of subdirectories. -q, --queue Set how many items to get from Instagram API (default: 12) -l, --limit Set how many items to download in total -ns, --no-stories Disable stories download diff --git a/src/config.js b/src/config.js index 42cc8fb..b4e5939 100644 --- a/src/config.js +++ b/src/config.js @@ -23,6 +23,18 @@ const config = { description: "Force creation of output directory", defaultValue: false }, + { + option: "open", + alternative: "O", + description: "Open output folders when finished", + defaultValue: false + }, + { + option: "unifolder", + alternative: "uf", + description: "Downloads the contents in the parent folder, instead of subdirectories.", + defaultValue: false + }, { option: "queue", alternative: "q", @@ -59,4 +71,6 @@ const config = { ] } +// TODO: Add reels' download + export default config