{"id":18685080,"url":"https://github.com/soags/temp-dir-cli","last_synced_at":"2026-02-14T20:36:28.065Z","repository":{"id":249218681,"uuid":"830888794","full_name":"soags/temp-dir-cli","owner":"soags","description":"This CLI tool creates a temporary directory and opens it in the explorer.","archived":false,"fork":false,"pushed_at":"2024-07-22T03:47:13.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T17:58:02.558Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/temp-dir-cli","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soags.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-19T07:59:37.000Z","updated_at":"2024-07-22T03:47:05.000Z","dependencies_parsed_at":"2025-10-08T17:39:17.516Z","dependency_job_id":"9083d879-1fc9-43b2-9f09-5050f586f674","html_url":"https://github.com/soags/temp-dir-cli","commit_stats":null,"previous_names":["soags/temp-dir-cli"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/soags/temp-dir-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soags%2Ftemp-dir-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soags%2Ftemp-dir-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soags%2Ftemp-dir-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soags%2Ftemp-dir-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soags","download_url":"https://codeload.github.com/soags/temp-dir-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soags%2Ftemp-dir-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T10:20:29.010Z","updated_at":"2026-02-14T20:36:28.048Z","avatar_url":"https://github.com/soags.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# temp-dir-cli\n\nThis CLI tool creates a temporary directory and opens it in the explorer.\n\nUpon execution, it creates a `yyyy-mm-dd` directory inside the `temp` directory in the home directory and opens that directory in the explorer. If the directory already exists, it opens the existing directory. Optionally, you can also create a new directory with a different name.\n\nBy specifying a title as an argument, you can create a `yyyy-mm-dd_[title]` directory.\n\nDuring execution, it cleans up any empty directories inside the `temp` directory.\n\n## Install\n\n```\nnpm install -g temp-dir-cli\n```\n\n## Usage\n\nYou can use the tool with either of the following commands:\n\n```powershell\ntempdir [title] [options...]\n```\n\n### Options\n\n| Argument                  | Description                                                                |\n| ------------------------- | -------------------------------------------------------------------------- |\n| `title`                   | Title to add to the directory.                                             |\n| `-n` or `--new-directory` | Create the directory with different name, if the directory already exists. |\n| `-q, --quiet`             | Create the directory without opening it.                                   |\n| `--root`                  | Open the `temp` directory.                                                 |\n\n### Example\n\n#### Create a temporary directory\n\n```powershell\ntempdir\n```\n\nThis command will create a directory named with the current date, e.g., `2024-07-19`.\n\n#### Create temporary directory with specified title\n\n```powershell\ntempdir Foo\n```\n\nThis command will create a directory named `2024-07-19_Foo`.\n\n#### Create temporary directory with different name, if the directory already exists.\n\n```powershell\ntempdir -n\n```\n\nIf a directory named `2024-07-19` already exists, this command will create a directory named `2024-07-19_1`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoags%2Ftemp-dir-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoags%2Ftemp-dir-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoags%2Ftemp-dir-cli/lists"}