{"_id":"@amitkys/dirmanager","_rev":"3-a24ace6dafced967dcd6aaf24d61c20c","name":"@amitkys/dirmanager","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@amitkys/dirmanager","version":"1.0.0","keywords":["cli","npmtool"],"author":{"name":"Amit KYs"},"license":"ISC","_id":"@amitkys/dirmanager@1.0.0","maintainers":[{"name":"amitkys","email":"amitkys59@gmail.com"}],"homepage":"https://github.com/Amitkys/dirManager#readme","bugs":{"url":"https://github.com/Amitkys/dirManager/issues"},"bin":{"sabnam":"dist/index.js"},"dist":{"shasum":"de5fbac97ebe24ee345d341e45f96387e38cf18f","tarball":"https://registry.npmjs.org/@amitkys/dirmanager/-/dirmanager-1.0.0.tgz","fileCount":9,"integrity":"sha512-V0hdbzldBPK4NzjCKCtba6EzPsMZ40lCvLAZqvXIeAiJoIfiU+5Se5DrH/S1SB+JqOYE6/GWe1doRh1efD1s4Q==","signatures":[{"sig":"MEYCIQCoxmhtVVtvcu2top4TnxMcCYvbX6VwdWKXjQhRYsSt/wIhAI3KusQNmiLfycLaIye6ypJU6uiDz1rPztr4eKgqm3af","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19653},"main":"dist/index.js","gitHead":"37d57d51d0e6409de95a12f842199cd84b5d1c34","scripts":{"build":"npx tsc"},"_npmUser":{"name":"amitkys","email":"amitkys59@gmail.com"},"repository":{"url":"git+https://github.com/Amitkys/dirManager.git","type":"git"},"_npmVersion":"8.19.4","description":"A CLI directory manager that can be used to create directories, list directory contents and create files","directories":{},"_nodeVersion":"16.20.2","dependencies":{"figlet":"^1.8.0","commander":"^13.1.0","typescript":"^5.8.2","@types/node":"^22.13.14","@types/figlet":"^1.7.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dirmanager_1.0.0_1743257741233_0.5269247717353855","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@amitkys/dirmanager","version":"1.0.1","keywords":["cli","npmtool"],"author":{"name":"Amit KYs"},"license":"ISC","_id":"@amitkys/dirmanager@1.0.1","maintainers":[{"name":"amitkys","email":"amitkys59@gmail.com"}],"homepage":"https://github.com/Amitkys/dirManager#readme","bugs":{"url":"https://github.com/Amitkys/dirManager/issues"},"bin":{"sabnam":"dist/index.js"},"dist":{"shasum":"b759d8a577fedac9ec36ca8d1a669bac181768b3","tarball":"https://registry.npmjs.org/@amitkys/dirmanager/-/dirmanager-1.0.1.tgz","fileCount":9,"integrity":"sha512-7GBRFQrZ9V/hMd8sed4gS69NXaicxtTcsOnTMGSpIgZrkbwkV/1ZXYha5x5RW0LT6PN/JNa2XPmxse7PAQOWXQ==","signatures":[{"sig":"MEUCIHZca0alJuq5G0VvyzQJtuPNQophcUMal3DHGh6slJ8FAiEAurjh9T77NHd2O5gSFWGAZ4y3icopLOECIfIZZivUgo8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20897},"main":"dist/index.js","gitHead":"444118e8bf4a97ce389d0458d7da3fe6346b31d9","scripts":{"build":"npx tsc"},"_npmUser":{"name":"amitkys","email":"amitkys59@gmail.com"},"repository":{"url":"git+https://github.com/Amitkys/dirManager.git","type":"git"},"_npmVersion":"8.19.4","description":"## Description","directories":{},"_nodeVersion":"16.20.2","dependencies":{"figlet":"^1.8.0","commander":"^13.1.0","typescript":"^5.8.2","@types/node":"^22.13.14","@types/figlet":"^1.7.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dirmanager_1.0.1_1743258168500_0.776841620320468","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@amitkys/dirmanager","version":"1.0.2","main":"dist/index.js","bin":{"sabnam":"dist/index.js"},"scripts":{"build":"npx tsc"},"keywords":["cli","npmtool"],"author":{"name":"Amit KYs"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/Amitkys/dirManager.git"},"homepage":"https://github.com/Amitkys/dirManager#readme","description":"## Description","dependencies":{"@types/figlet":"^1.7.0","@types/node":"^22.13.14","commander":"^13.1.0","figlet":"^1.8.0","typescript":"^5.8.2"},"gitHead":"fd7123c023a557aba2965350db874725b2a3684e","bugs":{"url":"https://github.com/Amitkys/dirManager/issues"},"_id":"@amitkys/dirmanager@1.0.2","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-2Z2SGNVlNdQyFiuxhPChDD03JzCq6e6dSfNywmGvlc9mQQfxhNIARH3mgt9jZRElClibzXKOQnEU6zvjrjZbOg==","shasum":"6312fc4f13c5618c6c978e72e524d9a4dd008acb","tarball":"https://registry.npmjs.org/@amitkys/dirmanager/-/dirmanager-1.0.2.tgz","fileCount":9,"unpackedSize":20897,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFdWDwHqwY53b1TeF10fi81QJnWHvotstrXBMKEVhXOvAiBwIz6d4o8r8nW0MhV4io/GN9RwiF6ZV1e+g9eBC7hSvA=="}]},"_npmUser":{"name":"amitkys","email":"amitkys59@gmail.com"},"directories":{},"maintainers":[{"name":"amitkys","email":"amitkys59@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dirmanager_1.0.2_1743258468278_0.18159013038384408"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-29T14:15:41.166Z","modified":"2025-03-29T14:27:48.623Z","1.0.0":"2025-03-29T14:15:41.455Z","1.0.1":"2025-03-29T14:22:48.689Z","1.0.2":"2025-03-29T14:27:48.455Z"},"bugs":{"url":"https://github.com/Amitkys/dirManager/issues"},"author":{"name":"Amit KYs"},"license":"ISC","homepage":"https://github.com/Amitkys/dirManager#readme","keywords":["cli","npmtool"],"repository":{"type":"git","url":"git+https://github.com/Amitkys/dirManager.git"},"description":"## Description","maintainers":[{"name":"amitkys","email":"amitkys59@gmail.com"}],"readme":"# Sabnam CLI\n\n## Description\n\nSabnam CLI is a simple command-line interface tool for managing directories and files. It allows users to list directory contents, create new directories, and create empty files.\n\n## Installation\n\nEnsure you have Node.js installed on your system. Then, install the dependencies and link the CLI tool globally:\n\n```sh\nnpm install\nnpm link\n```\n\n## Usage\n\nRun the CLI tool with the following commands:\n\n### List Directory Contents\n\n```sh\nsabnam -l [directory_path]\n```\n\nIf no directory path is provided, it lists the contents of the current directory.\n\n### Create a Directory\n\n```sh\nsabnam -m <directory_name>\n```\n\nCreates a new directory with the specified name.\n\n### Create a File\n\n```sh\nsabnam -t <file_name>\n```\n\nCreates a new empty file with the specified name.\n\n## Examples\n\n### Listing Directory Contents\n\n```sh\nsabnam -l /home/user/documents\n```\n\n### Creating a Directory\n\n```sh\nsabnam -m my_new_directory\n```\n\n### Creating a File\n\n```sh\nsabnam -t myfile.txt\n```\n\n## Error Handling\n\n- If the specified directory does not exist when listing contents, an error message is displayed.\n- If a directory already exists when attempting to create it, nothing happens.\n- If a file already exists when attempting to create it, it remains unchanged.\n\n## License\n\nThis project is licensed under the MIT License.\n","readmeFilename":"README.md"}