{"id":21018984,"url":"https://github.com/hashbrowncms/cli","last_synced_at":"2025-03-13T17:23:21.707Z","repository":{"id":57261614,"uuid":"189778309","full_name":"HashBrownCMS/cli","owner":"HashBrownCMS","description":"A command-line interface for HashBrown CMS","archived":false,"fork":false,"pushed_at":"2019-06-02T08:59:08.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T20:43:05.372Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/HashBrownCMS.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}},"created_at":"2019-06-01T21:17:36.000Z","updated_at":"2019-06-02T08:59:10.000Z","dependencies_parsed_at":"2022-08-25T05:11:58.491Z","dependency_job_id":null,"html_url":"https://github.com/HashBrownCMS/cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashBrownCMS%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashBrownCMS%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashBrownCMS%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashBrownCMS%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HashBrownCMS","download_url":"https://codeload.github.com/HashBrownCMS/cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447639,"owners_count":20292453,"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-11-19T10:28:29.134Z","updated_at":"2025-03-13T17:23:21.683Z","avatar_url":"https://github.com/HashBrownCMS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HashBrown CMS command-line interface\n\n## Install from NPM\n`npm i -g hashbrown-cli`\n\n## Example workflow\n\n1. Set your preferred editor\n```\n$ hashbrown-cli set editor vim\n```\n\n2. Log in to a HashBrown instance\n```\n$ hashbrown-cli login https://hashbrown.myserver.com myuser mypass\n```\n\n3. List all projects\n```\n$ hashbrown-cli project ls\n\nhashbrown.myserver.com\n--------------------\nsite1.com           0aa477d87aeca34e\n                    - live\n                    - testing\n\nsite2.com           febec265e2d80da0\n                    - live\n                    - testing\n```\n\n4. Enter a project and environment\n```\n$ hashbrown-cli use febec265e2d80da0 live\n```\n\n5. List content\n```\n$ hashbrown-cli content ls\n\n0aa477d87aeca34e:live@hashbrown.myserver.com\n--------------------\nPage 1                        40251e2b09366633\nPage 2                        45f1fdc3451022b4\nPage 3                        cb3747b2a3272c90\nPage 4                        0a7724a8bed9c624\n```\n\n6. Edit content using partial id\n```\n$ hashbrown-cli content edit 0a7\n```\n\n7. Create new content\n```\n$ hashbrown-cli content new\n```\n\n## Usage\n```\nUsage: hashbrown-cli \u003ccommand\u003e [\u003cargs\u003e]\n\ngeneral\n  get       Get a settings value, such as \"editor\"\n  help      Display this help dialogue\n  login     Log in to a HashBrown instance\n  set       Set a settings value, such as \"editor\"\n  use       Switch between projects and environments\n\nconnection\n  edit      Edit a connection\n  ls        List all available connections\n  new       Create a new connection\n  rm        Remove a connection\n\ncontent\n  edit      Edit a content node\n  ls        List all available content\n  new       Create a new content node\n  rm        Remove a content node\n\nform\n  edit      Edit a form\n  ls        List all available forms\n  new       Create a new form\n  rm        Remove a form\n\nschema\n  edit      Edit a schema\n  ls        List all available schemas\n  new       Create a new schema\n  rm        Remove a schema\n\nproject\n  ls        List all projects\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashbrowncms%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashbrowncms%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashbrowncms%2Fcli/lists"}