{"id":15602425,"url":"https://github.com/fiveisprime/iron-cache-cli","last_synced_at":"2025-03-29T12:45:42.053Z","repository":{"id":13673399,"uuid":"16367084","full_name":"fiveisprime/iron-cache-cli","owner":"fiveisprime","description":"Command line interface for iron cache.","archived":false,"fork":false,"pushed_at":"2014-01-30T21:50:32.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T15:11:35.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/iron-cache-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fiveisprime.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-30T03:13:19.000Z","updated_at":"2014-01-30T21:50:32.000Z","dependencies_parsed_at":"2022-09-26T19:51:25.846Z","dependency_job_id":null,"html_url":"https://github.com/fiveisprime/iron-cache-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveisprime%2Firon-cache-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveisprime%2Firon-cache-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveisprime%2Firon-cache-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiveisprime%2Firon-cache-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fiveisprime","download_url":"https://codeload.github.com/fiveisprime/iron-cache-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246187220,"owners_count":20737460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-03T02:41:28.444Z","updated_at":"2025-03-29T12:45:42.030Z","avatar_url":"https://github.com/fiveisprime.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"iron-cache-cli\n==============\n\nCommand line interface for iron cache.\n\n# Usage\n\n    Usage: cache [options] [command]\n\n    Commands:\n\n      defaults                      view your current defaults\n      project \u003cid\u003e                  set the default project\n      token \u003ctoken\u003e                 set the default token\n      cache \u003ccache\u003e                 set the default cache\n      list                          list all caches for a project\n      info [options]                get information about a cache\n      get  [options] \u003ckey\u003e          get the value of the specified key in the specified cache\n      put  [options] \u003ckey\u003e \u003cvalue\u003e  set the value of the specified key in the specified cache\n\n    Options:\n\n      -h, --help     output usage information\n      -V, --version  output the version number\n\n## Defaults\n\nSet the project and token to use by running `$ cache token my-token` and\n`$ cache project my-project`. Optionally set a default cache to use:\n`$ cache cache my-cache` otherwise pass the cache to use with the -c (--cache)\noption.\n\nSee all of your default settings by running `$ cache defaults`.\n\n### Example\n\nSet defaults and use the cache:\n\n    $ cache token my-token\n    $ cache project my-project-id\n    $ cache cache my-cache\n    $ cache info\n\n    id:         57e85t6e8d0a5e5a9d000eb9\n    created_at: 0001-01-01T00:00:00Z\n    updated_at: 0001-01-01T00:00:00Z\n    project_id: my-project-id\n    name:       my-cache\n    size:       36\n    data_size:  0\n\n    $ cache get my-key\n\n    cache:   my-cache\n    key:     my-key\n    value:   The value of my key\n    cas:     5974142746743636948\n    flags:   0\n    expires: 9999-01-01T00:00:00Z\n\nOverride defaults with options:\n\n    $ cache -c other-cache info\n\n    id:         52f86f3c1ef7915b7f000d85\n    created_at: 0001-01-01T00:00:00Z\n    updated_at: 0001-01-01T00:00:00Z\n    project_id: my-project-id\n    name:       other-cache\n    size:       7\n    data_size:  0\n\n# License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Matt Hernandez\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiveisprime%2Firon-cache-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiveisprime%2Firon-cache-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiveisprime%2Firon-cache-cli/lists"}