{"_id":"@b-rad/cld-get-assets","_rev":"2-af1e0fa6a583169513f450e796424aa4","name":"@b-rad/cld-get-assets","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.3":{"name":"@b-rad/cld-get-assets","version":"0.2.3","description":"A nifty CLI tool to get assets from Cloudinary","main":"dist/index.js","bin":{"cld-get-assets":"dist/index.js"},"keywords":["cloudinary","cli"],"author":{"name":"Brad Johnson"},"license":"ISC","dependencies":{"@inquirer/prompts":"^3.2.0","@types/node":"^20.8.10","cloudinary":"^1.41.0","commander":"^11.1.0","dotenv":"^16.3.1","fast-csv":"^4.3.6","moment":"^2.29.4","prompt":"^1.3.0"},"devDependencies":{"@types/inquirer":"^9.0.6","@types/prompt":"^1.1.7","ts-node":"^10.9.1","typescript":"^5.2.2"},"scripts":{"build":"tsc","start":"ts-node src/index.ts"},"_id":"@b-rad/cld-get-assets@0.2.3","_integrity":"sha512-MPOvS9lUMQV0ip4dd3iQi2miUyAyz/nKpugCtnhTtNMn03tOqvJGF6LkUTYGqPTcjIq++osUYYY9ghu3JBnhXA==","_resolved":"/private/var/folders/jt/b3j9lytd3w17yjz64znzzn6r0000gp/T/bb76d90666acf2c1124d8a961e6b1da6/b-rad-cld-get-assets-0.2.3.tgz","_from":"file:b-rad-cld-get-assets-0.2.3.tgz","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-MPOvS9lUMQV0ip4dd3iQi2miUyAyz/nKpugCtnhTtNMn03tOqvJGF6LkUTYGqPTcjIq++osUYYY9ghu3JBnhXA==","shasum":"94659ba9c2d6d2852924eb7202586d9ba18d292e","tarball":"https://registry.npmjs.org/@b-rad/cld-get-assets/-/cld-get-assets-0.2.3.tgz","fileCount":5,"unpackedSize":20155,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS8LMge5khD5J/Iq1OFwpaGW/mqm3fvnQL+zyLVulnkAIgPTChnvo5qADe/QejAeEfE7JKffOQx+TJbKk8plogmlA="}]},"_npmUser":{"name":"brad0311","email":"b-rad@bradjohnson.io"},"directories":{},"maintainers":[{"name":"brad0311","email":"b-rad@bradjohnson.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cld-get-assets_0.2.3_1698971750971_0.9158497224883972"},"_hasShrinkwrap":false},"0.2.4":{"name":"@b-rad/cld-get-assets","version":"0.2.4","description":"A nifty CLI tool to get assets from Cloudinary","main":"dist/index.js","bin":{"cld-get-assets":"dist/index.js"},"keywords":["cloudinary","cli"],"author":{"name":"Brad Johnson"},"license":"ISC","dependencies":{"@inquirer/prompts":"^3.2.0","@types/node":"^20.8.10","cloudinary":"^1.41.0","commander":"^11.1.0","dotenv":"^16.3.1","fast-csv":"^4.3.6","moment":"^2.29.4","prompt":"^1.3.0"},"devDependencies":{"@types/inquirer":"^9.0.6","@types/prompt":"^1.1.7","ts-node":"^10.9.1","typescript":"^5.2.2"},"scripts":{"build":"tsc","start":"ts-node src/index.ts"},"_id":"@b-rad/cld-get-assets@0.2.4","_integrity":"sha512-ErKQG5KN6JA/ZY7VLtErOC6PAV3MMLskXyECV6uCBu1MEFmm9oUOsAGdkE8PyV29bGNn7V+wzBA06ywixSc5NA==","_resolved":"/private/var/folders/jt/b3j9lytd3w17yjz64znzzn6r0000gp/T/587003a82c137f0f0cf090c988dde61d/b-rad-cld-get-assets-0.2.4.tgz","_from":"file:b-rad-cld-get-assets-0.2.4.tgz","_nodeVersion":"18.14.1","_npmVersion":"9.3.1","dist":{"integrity":"sha512-ErKQG5KN6JA/ZY7VLtErOC6PAV3MMLskXyECV6uCBu1MEFmm9oUOsAGdkE8PyV29bGNn7V+wzBA06ywixSc5NA==","shasum":"6bdd5e99ec0dfcf3776968b6fd3e577a7a710b0c","tarball":"https://registry.npmjs.org/@b-rad/cld-get-assets/-/cld-get-assets-0.2.4.tgz","fileCount":5,"unpackedSize":20164,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrQY60TCdmo3Pee36xRGYaD9NRB8n+L3lJRaPWfXvcNQIgN5nusRny9YbvUlQujew1oQ84zJ69pQGjKz8S3PaBYh4="}]},"_npmUser":{"name":"brad0311","email":"b-rad@bradjohnson.io"},"directories":{},"maintainers":[{"name":"brad0311","email":"b-rad@bradjohnson.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cld-get-assets_0.2.4_1699668206825_0.6517271419980248"},"_hasShrinkwrap":false},"0.3.0":{"name":"@b-rad/cld-get-assets","version":"0.3.0","description":"A nifty CLI tool to get assets from Cloudinary","main":"dist/index.js","bin":{"cld-get-assets":"dist/index.js"},"keywords":["cloudinary","cli"],"author":{"name":"Brad Johnson"},"license":"ISC","dependencies":{"@inquirer/prompts":"^3.2.0","@types/node":"^20.8.10","cloudinary":"^1.41.0","commander":"^11.1.0","dotenv":"^16.3.1","fast-csv":"^4.3.6","moment":"^2.29.4","prompt":"^1.3.0"},"devDependencies":{"@types/inquirer":"^9.0.6","@types/prompt":"^1.1.7","ts-node":"^10.9.1","typescript":"^5.2.2"},"scripts":{"build":"tsc","start":"ts-node src/index.ts"},"_id":"@b-rad/cld-get-assets@0.3.0","_integrity":"sha512-QIl4F1suoVgxtBA3EIsEKh/DCQBaCittrvAxaBy8xYIDvQABrrRe+k8yKUtAnbuY8u1ZJhNNWnSe75Z6heTv7g==","_resolved":"/private/var/folders/jt/b3j9lytd3w17yjz64znzzn6r0000gp/T/a6d7c54e7aa1c1e3b769c73ff3c0c418/b-rad-cld-get-assets-0.3.0.tgz","_from":"file:b-rad-cld-get-assets-0.3.0.tgz","_nodeVersion":"20.9.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-QIl4F1suoVgxtBA3EIsEKh/DCQBaCittrvAxaBy8xYIDvQABrrRe+k8yKUtAnbuY8u1ZJhNNWnSe75Z6heTv7g==","shasum":"7dfd1890b8c10430b1e245cc08b86cef8bf09fa7","tarball":"https://registry.npmjs.org/@b-rad/cld-get-assets/-/cld-get-assets-0.3.0.tgz","fileCount":5,"unpackedSize":20155,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGveRkfEqb8WVofSAPkYidMTsxTceJCL4Ei/hUzxmAmTAiEAn45+jAhuQ7XWCZq4mlHlT9naHpgQ9/dm+1xp/WA9xBU="}]},"_npmUser":{"name":"brad0311","email":"b-rad@bradjohnson.io"},"directories":{},"maintainers":[{"name":"brad0311","email":"b-rad@bradjohnson.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cld-get-assets_0.3.0_1699756961416_0.9634617815607338"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-03T00:35:50.836Z","0.2.3":"2023-11-03T00:35:51.248Z","modified":"2023-11-12T02:42:41.786Z","0.2.4":"2023-11-11T02:03:27.063Z","0.3.0":"2023-11-12T02:42:41.577Z"},"maintainers":[{"name":"brad0311","email":"b-rad@bradjohnson.io"}],"description":"A nifty CLI tool to get assets from Cloudinary","keywords":["cloudinary","cli"],"author":{"name":"Brad Johnson"},"license":"ISC","readme":"# This package has been moved to @b-rad/cld-get-assets\n\n# [Cloudinary](https://cloudinary.com) CLI Tool to Export Assets to CSV\n\nA simple CLI tool to export assets from Cloudinary to a CSV file.\n\n**NOTE:** This tool uses the Search method of the [Admin API](https://cloudinary.com/documentation/admin_api) which is rate limited to 5000 requests per hour.\n\n**_This is very alpha and in active development. Use at your own risk._**\n\nTODO:\n\n- [ ] Refactor try catch blocks (maybe)\n- [x] Mask API Secret Input\n- [ ] Graceful Exit\n- [ ] Allow users to choose which system fields to include in the CSV\n- [x] Enable Search\n- [x] Enable tags\n- [x] Enable Metadata\n\n_This package is not affiliated with Cloudinary._\n\n**This package has been renamed from cld_get_assets to cld-get-asset**\n\n## Features\n\n- Fetch assets based on various parameters\n- Save assets information to a CSV file\n- Manage Cloudinary credentials\n- Support for including tags and metadata in the CSV\n\n## Installation\n\nTo install the CLI tool globally, run:\n\n```bash\npnpm add -g cld-get-assets\n```\n\n(or npm, yarn, etc.)\n\n## Usage\n\n### Fetching Assets\n\nTo fetch assets, simply run:\n\n```bash\ncld-get-assets go\n```\n\nFollow the prompts to enter your Cloudinary credentials and other settings.\n\n#### Step 1: Enter Cloudinary Credentials\n\nYou'll be prompted to enter your Cloudinary credentials:\n\n- Cloudinary cloud name\n- Cloudinary API key\n- Cloudinary API secret\n\nThese credentials will be saved for future use.\n\n#### Step 2: Choose Output Directory and Filename\n\nNext, you'll be asked to specify:\n\n- The output directory where the CSV will be saved. It's relative to your current working directory.\n- The filename for the CSV\n\n#### Step 3: Choose Additional Fields\n\nYou'll have the option to include additional fields in the CSV:\n\n- Tags\n- Metadata\n\nUse the arrow keys to select which fields you want to include.\n\n#### Step 4: Choose Metadata Fields (Optional)\n\nIf you chose to include metadata, you'll be prompted to select which metadata fields to include in the CSV. Again, use the arrow keys to make your selections.\n\n#### Step 5: Fetching and Saving\n\nAfter you've made all your selections, the tool will fetch the assets based on your criteria and save them to a CSV file in the specified directory.\n\n## Configuration\n\nThe tool saves your Cloudinary credentials locally for future use. The config file is saved at:\n\n:open_file_folder: ~/.cld_get_assets_config.json\n\nTo update saved Cloudinary credentials, run:\n\n```bash\ncld-get-assets config\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nThis project is licensed under the ISC License.\n","readmeFilename":"README.md"}